Browse Source

Fix updating Trakt collection from Unix.

pull/743/head
Prinz23 9 years ago
committed by JackDandy
parent
commit
d47f3738e7
  1. 1
      CHANGES.md
  2. 3
      sickbeard/notifiers/trakt.py

1
CHANGES.md

@ -300,6 +300,7 @@
* Fix provider MTV download URL
* Change give provider OMGWTFNZBS more time to respond
* Change file browser to permit manually entering a path
* Fix updating Trakt collection from Unix
### 0.10.0 (2015-08-06 11:05:00 UTC)

3
sickbeard/notifiers/trakt.py

@ -19,6 +19,7 @@
import sickbeard
from sickbeard import logger
from lib.libtrakt import TraktAPI, exceptions
import os
class TraktNotifier:
@ -75,7 +76,7 @@ class TraktNotifier:
if tid not in sickbeard.TRAKT_ACCOUNTS.keys():
continue
for loc in locations:
if not ep_obj.location.startswith('%s\\' % loc.rstrip('\\')):
if not ep_obj.location.startswith('%s%s' % (loc.rstrip(os.path.sep), os.path.sep)):
continue
warn, msg = False, ''

Loading…
Cancel
Save