mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge pull request #332 from one-some/UI2
Fix welcome being a boolean when migrating from united
This commit is contained in:
@@ -4680,6 +4680,9 @@ def kml(txt):
|
|||||||
# Send start message and tell Javascript to set UI state
|
# Send start message and tell Javascript to set UI state
|
||||||
#==================================================================#
|
#==================================================================#
|
||||||
def setStartState():
|
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:
|
if koboldai_vars.welcome != koboldai_vars.welcome_default:
|
||||||
txt = koboldai_vars.welcome + "<br/>"
|
txt = koboldai_vars.welcome + "<br/>"
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user