mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix updating Trakt collection from Unix.
This commit is contained in:
parent
970f055ac5
commit
d47f3738e7
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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…
Reference in a new issue