jellyfin/src/config.py

12 lines
221 B
Python
Raw Normal View History

2023-04-05 16:31:14 +00:00
"""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