Commit 8b6981b4 authored by echel0n's avatar echel0n
Browse files

Fixed unicode issues with timezone updater

parent 97972204
# Changelog
- * a3e88ad - 2018-08-25: Fixed spacing for status view
- * 69ef0c5 - 2018-08-25: Fixed unicode issues with timezone updater
- * 9797220 - 2018-08-25: Fixed spacing for status view
- * 8279ece - 2018-08-24: Fixed quality badge for manual searches
- * fb31d87 - 2018-08-24: Release v9.3.59
- * 2a1d2ce - 2018-08-24: Pre-Release v9.3.59.dev3
......
......@@ -97,20 +97,19 @@ class TraktSearcher(object):
self.amActive = False
def syncWatchlist(self):
if sickrage.app.config.trakt_sync_watchlist and sickrage.app.config.use_trakt:
sickrage.app.log.debug("Syncing SiCKRAGE with Trakt Watchlist")
sickrage.app.log.debug("Syncing SiCKRAGE with Trakt Watchlist")
self.removeShowFromSickRage()
self.removeShowFromSickRage()
if self._getShowWatchlist():
self.addShowToTraktWatchList()
self.updateShows()
if self._getShowWatchlist():
self.addShowToTraktWatchList()
self.updateShows()
if self._getEpisodeWatchlist():
self.addEpisodesToTraktWatchList()
if sickrage.app.config.trakt_remove_show_from_sickrage:
self.removeEpisodesFromTraktWatchList()
self.updateEpisodes()
if self._getEpisodeWatchlist():
self.addEpisodesToTraktWatchList()
if sickrage.app.config.trakt_remove_show_from_sickrage:
self.removeEpisodesFromTraktWatchList()
self.updateEpisodes()
def syncCollection(self):
sickrage.app.log.debug("Syncing SiCKRAGE with Trakt Collection")
......
......@@ -133,8 +133,7 @@ class ProgressIndicator:
class ProgressIndicators():
_pi = {'massUpdate': [],
'massAdd': [],
'dailyShowUpdates': []
}
'dailyShowUpdates': []}
@staticmethod
def getIndicator(name):
......
......@@ -27,6 +27,7 @@ from dateutil import tz
import sickrage
from sickrage.core.helpers import try_int
from sickrage.core.helpers.encoding import ss
from sickrage.core.websession import WebSession
network_dict = {}
......@@ -65,7 +66,7 @@ def update_network_dict():
except RecordNotFound:
sickrage.app.cache_db.insert({
'_t': 'network_timezones',
'network_name': network,
'network_name': ss(network),
'timezone': timezone
})
elif network_dict[network] is not timezone:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment