Private GIT

Skip to content
Snippets Groups Projects
Commit 6cf07663 authored by Fernando's avatar Fernando Committed by fernandog
Browse files

Fix trakt exceptions when connection timed out

Avoid this:
```
AA
AAtraktException: HTTPSConnectionPool(host='api-v2launch.trakt.tv', port=443): Read timed out. (read timeout=5)
AA    raise traktException(e)
AA  File "/home/osmc/SickRage/lib/trakt/trakt.py", line 97, in traktRequest
AA    TraktEpisodeWatchlist = self.trakt_api.traktRequest("sync/watchlist/episodes")
AA  File "/home/osmc/SickRage/sickbeard/traktChecker.py", line 503, in _getEpisodeWatchlist
AA    if self._getEpisodeWatchlist():
AA  File "/home/osmc/SickRage/sickbeard/traktChecker.py", line 237, in syncWatchlist
AA    self.syncWatchlist()
AA  File "/home/osmc/SickRage/sickbeard/traktChecker.py", line 82, in run
```
parent 743e7d37
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment