Merge pull request #332 from one-some/UI2

Fix welcome being a boolean when migrating from united
This commit is contained in:
ebolam
2022-12-09 11:42:36 -05:00
committed by GitHub

View File

@@ -4680,6 +4680,9 @@ def kml(txt):
# Send start message and tell Javascript to set UI state
#==================================================================#
def setStartState():
# Old UI sets welcome to a boolean sometimes
koboldai_vars.welcome = koboldai_vars.welcome or koboldai_vars.welcome_default
if koboldai_vars.welcome != koboldai_vars.welcome_default:
txt = koboldai_vars.welcome + "<br/>"
else: