Merge pull request #291 from pi6am/fix/save-as

Fix an exception using Save As from the classic UI
This commit is contained in:
henk717
2023-02-19 13:21:10 +01:00
committed by GitHub

View File

@@ -7162,8 +7162,8 @@ def exitModes():
# Launch in-browser save prompt
#==================================================================#
def saveas(data):
koboldai_vars.story_name = data['name']
name = data['name']
koboldai_vars.story_name = name
if not data['pins']:
koboldai_vars.actions.clear_all_options()
# Check if filename exists already