Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def chatbot(input, localvar):
|
|
89 |
localvar['race'] = localRace(getChooseRole(reply))
|
90 |
ans = "I choose "+ localvar['race'] +" as my race." + classAsk
|
91 |
logging.info("ChooseRole:"+ans)
|
92 |
-
if len(messages) ==
|
93 |
localvar['class'] = getChooseClass(reply)
|
94 |
ans = "My Race is "+ localvar['race'] +",I choose "+ localvar['class'] +" as my class." + classAns
|
95 |
logging.info("ChooseClass:"+ans)
|
|
|
89 |
localvar['race'] = localRace(getChooseRole(reply))
|
90 |
ans = "I choose "+ localvar['race'] +" as my race." + classAsk
|
91 |
logging.info("ChooseRole:"+ans)
|
92 |
+
if len(messages) == 3:
|
93 |
localvar['class'] = getChooseClass(reply)
|
94 |
ans = "My Race is "+ localvar['race'] +",I choose "+ localvar['class'] +" as my class." + classAns
|
95 |
logging.info("ChooseClass:"+ans)
|