mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
move config file to variable
This commit is contained in:
parent
0e6143ed6e
commit
1304ef1a83
1 changed files with 3 additions and 1 deletions
|
@ -18,8 +18,10 @@ from diff_match_patch import diff_match_patch
|
|||
#
|
||||
# Teď budeme kontrolovat jen titulky, ale postupně můžeme přidat i description článku
|
||||
|
||||
CONFIG_FILE = "../data/config.yaml"
|
||||
|
||||
config = confuse.Configuration('headline', __name__)
|
||||
config.set_file('config.yaml')
|
||||
config.set_file(CONFIG_FILE)
|
||||
|
||||
dmp = diff_match_patch()
|
||||
|
||||
|
|
Loading…
Reference in a new issue