fixed syntax error
This commit is contained in:
parent
5d746db83f
commit
6b4fa46ae4
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
@ -29,6 +29,8 @@ cfg = {
|
|||
|
||||
try:
|
||||
cfg.update(json.load(open('config.json', 'r')))
|
||||
except:
|
||||
pass
|
||||
|
||||
if "client" not in cfg:
|
||||
print("No application info -- registering application with {}".format(cfg['site']))
|
||||
|
|
Loading…
Reference in a new issue