ricerca globale: aggiornamento gui in try-except

This commit is contained in:
mac12m99
2021-04-23 23:28:00 +02:00
parent 5381a435b5
commit 4e75232460

View File

@@ -348,11 +348,12 @@ 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'))
except:
pass
self.count += 1
return self.update(channel, valid, other if other else results)
self.count += 1
return self.update(channel, valid, other if other else results)
except:
import traceback
logger.error(traceback.format_exc())
def makeItem(self, url):
item = Item().fromurl(url)