fix persistence

This commit is contained in:
Tomáš Mládek 2021-09-19 12:18:32 +02:00
parent 918e021eed
commit b74d5838eb

View file

@ -24,7 +24,7 @@ class KollagenBot:
self.kollagen_path = kollagen_path
self.base_dir = base_dir
self.updater = Updater(tg_token, persistence=DictPersistence())
self.updater = Updater(tg_token, persistence=DictPersistence(user_data_json="{}"))
dispatcher = self.updater.dispatcher