%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/opt/cloudlinux/venv/lib64/python3.11/site-packages/setoptconf/
Upload File :
Create Path :
Current File : //proc/thread-self/root/opt/cloudlinux/venv/lib64/python3.11/site-packages/setoptconf/util.py

import csv
from io import StringIO


__all__ = ("csv_to_list")


def csv_to_list(value):
    if isinstance(value, str) and value:
        reader = csv.reader(StringIO(value))
        parsed = next(reader)
        return parsed
    return []

Zerion Mini Shell 1.0