jellyfin/src/config.py
2023-04-05 23:35:42 +07:00

12 lines
221 B
Python

"""handle config file"""
import json
def get_config():
"""get connection config"""
with open("config.json", "r", encoding="utf-8") as f:
config_content = json.loads(f.read())
return config_content