06-sep: [fix] remueve pop(ultimos_torrents) al reingresar menú videoclub
This commit is contained in:
@@ -542,13 +542,6 @@ def _teclado_categoria(chat_id, categoria):
|
|||||||
|
|
||||||
|
|
||||||
def _abrir_categoria(chat_id, message_id, categoria):
|
def _abrir_categoria(chat_id, message_id, categoria):
|
||||||
if categoria == "videoclub":
|
|
||||||
# Al volver atras se olvida la eleccion de torrents (se queda Torrents).
|
|
||||||
try:
|
|
||||||
pi_bot = _pi()
|
|
||||||
pi_bot.ultimos_torrents.pop(chat_id, None)
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
_record_cat(chat_id, categoria)
|
_record_cat(chat_id, categoria)
|
||||||
teclado = _teclado_categoria(chat_id, categoria)
|
teclado = _teclado_categoria(chat_id, categoria)
|
||||||
if teclado is None:
|
if teclado is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user