06-sep: [fix] remueve pop(ultimos_torrents) al reingresar menú videoclub

This commit is contained in:
juanjo
2026-09-06 19:13:59 +02:00
parent 9387e97167
commit bed840417d

View File

@@ -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: