Bugfix: Add apikey check to loadsettings
This commit is contained in:
parent
739a8a5268
commit
0e0947d93a
|
@ -401,6 +401,8 @@ def loadsettings():
|
|||
js = json.load(file)
|
||||
|
||||
# Copy file contents to vars
|
||||
if("apikey" in js):
|
||||
vars.apikey = js["apikey"]
|
||||
if("andepth" in js):
|
||||
vars.andepth = js["andepth"]
|
||||
if("temp" in js):
|
||||
|
|
Loading…
Reference in New Issue