From 7cd271e4d35c85db47e40b5a90712e7cd97ac3b4 Mon Sep 17 00:00:00 2001 From: ilmich Date: Sat, 27 Apr 2024 20:41:54 +0200 Subject: [PATCH] downloads: fix when autoplay is enabled --- specials/downloads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specials/downloads.py b/specials/downloads.py index a7d5f115..3bf4eec9 100644 --- a/specials/downloads.py +++ b/specials/downloads.py @@ -809,7 +809,7 @@ def select_server(item): # seleccion = platformtools.dialog_select(config.get_localized_string(70192), ["Auto"] + [s.serverName for s in play_items]) if seleccion != -1: # not canceled - if seleccion.action != 'auto': + if seleccion and seleccion.action != 'auto': update_json(item.path, { "downloadServer": {"url": seleccion.url, "server": seleccion.server}}) return seleccion