Private GIT

Skip to content
Snippets Groups Projects
Commit 897cd9cf authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Reorder if/else to make readable

parent bdf290a0
No related branches found
No related tags found
No related merge requests found
......@@ -94,13 +94,12 @@ class DailySearcher():
elif ep.season == 0:
logger.log(u"New episode " + ep.prettyName() + " airs today, setting status to SKIPPED because is a special season")
ep.status = common.SKIPPED
elif sickbeard.TRAKT_USE_ROLLING_DOWNLOAD and sickbeard.USE_TRAKT:
ep.status = common.SKIPPED
UpdateWantedList = 1
else:
if not sickbeard.TRAKT_USE_ROLLING_DOWNLOAD or not sickbeard.USE_TRAKT:
logger.log(u"New episode " + ep.prettyName() + " airs today, setting status to WANTED")
ep.status = common.WANTED
else:
ep.status = common.SKIPPED
UpdateWantedList = 1
sql_l.append(ep.get_sql())
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment