fix persistence (again)
This commit is contained in:
parent
6091c19c8b
commit
d443fc6d7e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class KollagenBot:
|
||||||
def tg_generate(self, update: Update, context: CallbackContext):
|
def tg_generate(self, update: Update, context: CallbackContext):
|
||||||
cmd_line = update.message.text.split(" ")[1:]
|
cmd_line = update.message.text.split(" ")[1:]
|
||||||
self._process(cmd_line, update)
|
self._process(cmd_line, update)
|
||||||
if context.user_data:
|
if context.user_data is not None:
|
||||||
context.user_data["last_cmd_line"] = cmd_line
|
context.user_data["last_cmd_line"] = cmd_line
|
||||||
|
|
||||||
def tg_regenerate(self, update: Update, context: CallbackContext):
|
def tg_regenerate(self, update: Update, context: CallbackContext):
|
||||||
|
|
Loading…
Reference in a new issue