From a1ad38d2eaf3a68e7c5ad94138d20411c9e4fa79 Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Sun, 25 Apr 2021 10:35:47 +0200 Subject: [PATCH] Revert "ricerca globale: aggiornamento gui in try-except" This reverts commit 4e752324 --- specials/globalsearch.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index 8e6530d3..2eef627f 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -348,12 +348,11 @@ class SearchWindow(xbmcgui.WindowXML): if self.item.mode != 'all' and not valid and self.item.infoLabels.get('originaltitle'): logger.debug('retring with original title on channel ' + channel) dummy, valid, dummy = search(self.item.infoLabels.get('originaltitle')) - - self.count += 1 - return self.update(channel, valid, other if other else results) except: - import traceback - logger.error(traceback.format_exc()) + pass + + self.count += 1 + return self.update(channel, valid, other if other else results) def makeItem(self, url): item = Item().fromurl(url)