mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +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
|
* Fix provider MTV download URL
|
||||||
* Change give provider OMGWTFNZBS more time to respond
|
* Change give provider OMGWTFNZBS more time to respond
|
||||||
* Change file browser to permit manually entering a path
|
* 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)
|
### 0.10.0 (2015-08-06 11:05:00 UTC)
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
import sickbeard
|
import sickbeard
|
||||||
from sickbeard import logger
|
from sickbeard import logger
|
||||||
from lib.libtrakt import TraktAPI, exceptions
|
from lib.libtrakt import TraktAPI, exceptions
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
class TraktNotifier:
|
class TraktNotifier:
|
||||||
|
@ -75,7 +76,7 @@ class TraktNotifier:
|
||||||
if tid not in sickbeard.TRAKT_ACCOUNTS.keys():
|
if tid not in sickbeard.TRAKT_ACCOUNTS.keys():
|
||||||
continue
|
continue
|
||||||
for loc in locations:
|
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
|
continue
|
||||||
|
|
||||||
warn, msg = False, ''
|
warn, msg = False, ''
|
||||||
|
|
Loading…
Reference in a new issue