removed legacy code
This commit is contained in:
parent
02add51698
commit
91d4d7303a
1 changed files with 1 additions and 5 deletions
4
main.py
4
main.py
|
@ -23,10 +23,6 @@ cfg = {
|
|||
"max_thread_length": 15
|
||||
}
|
||||
|
||||
try:
|
||||
cfg.update(json.load(open('config.json', 'r')))
|
||||
except:
|
||||
shutil.copy2("config.sample.json", "config.json")
|
||||
cfg.update(json.load(open('config.json', 'r')))
|
||||
|
||||
if "client" not in cfg:
|
||||
|
|
Loading…
Reference in a new issue