mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
another silly bug silly silly silly (tavern)
This commit is contained in:
parent
59b7796b96
commit
43e9b049d6
1 changed files with 2 additions and 2 deletions
|
@ -4666,8 +4666,8 @@ def show_gui():
|
|||
filename = asksaveasfilename(filetypes=file_type, defaultextension=file_type)
|
||||
if not filename:
|
||||
return
|
||||
filenamestr = str(filename).strip().lower()
|
||||
if not filenamestr.endswith(".kcpps"):
|
||||
filenamestr = str(filename).strip()
|
||||
if not filenamestr.lower().endswith(".kcpps"):
|
||||
filenamestr += ".kcpps"
|
||||
file = open(filenamestr, 'w')
|
||||
file.write(json.dumps(savdict))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue