mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-20 01:31:42 +02:00
prevent download dir being changed by config
This commit is contained in:
+1
-1
@@ -7489,7 +7489,7 @@ def reload_from_new_args(newargs):
|
||||
args.istemplate = False
|
||||
newargs = convert_invalid_args(newargs)
|
||||
for key, value in newargs.items(): #do not overwrite certain values
|
||||
if key not in ["remotetunnel","showgui","port","host","port_param","admin","adminpassword","admindir","ssl","nocertify","benchmark","prompt","config"]:
|
||||
if key not in ["remotetunnel","showgui","port","host","port_param","admin","adminpassword","admindir","ssl","nocertify","benchmark","prompt","config","downloaddir"]:
|
||||
setattr(args, key, value)
|
||||
setattr(args,"showgui",False)
|
||||
setattr(args,"benchmark",False)
|
||||
|
||||
Reference in New Issue
Block a user