mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-17 12:10:49 +01:00
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)
|
js = json.load(file)
|
||||||
|
|
||||||
# Copy file contents to vars
|
# Copy file contents to vars
|
||||||
|
if("apikey" in js):
|
||||||
|
vars.apikey = js["apikey"]
|
||||||
if("andepth" in js):
|
if("andepth" in js):
|
||||||
vars.andepth = js["andepth"]
|
vars.andepth = js["andepth"]
|
||||||
if("temp" in js):
|
if("temp" in js):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user