mirror of
https://github.com/SinTan1729/TvTimeToTrakt.git
synced 2025-04-19 01:20:01 -05:00
Change is not to is None
This commit is contained in:
parent
620a491ac7
commit
d553cec1d3
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class Processor(ABC):
|
|||
time.sleep(delay)
|
||||
|
||||
trakt_item = self._search_trakt(tv_time_item)
|
||||
if not trakt_item:
|
||||
if trakt_item is None:
|
||||
break
|
||||
|
||||
self._process(tv_time_item, trakt_item, progress)
|
||||
|
|
|
@ -186,7 +186,7 @@ class Searcher(ABC):
|
|||
first_match = query_result[0]
|
||||
first_match_selected_index = int(first_match.get("UserSelectedIndex"))
|
||||
skip_show = first_match.get("Skip")
|
||||
if not skip_show:
|
||||
if skip_show is None:
|
||||
return True, self.items_with_same_name[first_match_selected_index]
|
||||
else:
|
||||
return True, None
|
||||
|
|
Loading…
Reference in a new issue