mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-07 23:38:39 +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)
|
||||
|
||||
# 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…
x
Reference in New Issue
Block a user