You've already forked Douyin_Web_Live
requirements更新
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
from pathlib import Path
|
||||
import yaml
|
||||
from ruamel import yaml
|
||||
|
||||
def config():
|
||||
settings_file = str(Path(__file__).parent.absolute()) + '/settings.yml'
|
||||
|
||||
with open(settings_file, 'r') as f:
|
||||
return yaml.load(f, Loader=yaml.FullLoader)
|
||||
return yaml.load(f, Loader=yaml.UnsafeLoader)
|
||||
|
||||
|
Reference in New Issue
Block a user