mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
9 lines
143 B
Python
9 lines
143 B
Python
|
import yaml
|
||
|
|
||
|
|
||
|
def load_config(filename: str) -> None:
|
||
|
with open(filename, "r") as f:
|
||
|
config = yaml.safe_load(f)
|
||
|
|
||
|
return config
|