mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2025-06-30 14:21:09 +00:00
12 lines
221 B
Python
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
|