mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
9e55be196a
2 changed files with 7 additions and 0 deletions
|
@ -60,6 +60,11 @@
|
||||||
* Change restart/shutdown to use updated jQuery
|
* Change restart/shutdown to use updated jQuery
|
||||||
|
|
||||||
|
|
||||||
|
### 0.12.16 (2017-05-05 16:40:00 UTC)
|
||||||
|
|
||||||
|
* Fix multiple SpeedCD cookie
|
||||||
|
|
||||||
|
|
||||||
### 0.12.15 (2017-05-04 00:40:00 UTC)
|
### 0.12.15 (2017-05-04 00:40:00 UTC)
|
||||||
|
|
||||||
* Remove provider Nyaa
|
* Remove provider Nyaa
|
||||||
|
|
|
@ -45,6 +45,8 @@ class SpeedCDProvider(generic.TorrentProvider):
|
||||||
|
|
||||||
return super(SpeedCDProvider, self)._authorised(
|
return super(SpeedCDProvider, self)._authorised(
|
||||||
logged_in=(lambda y='': all(
|
logged_in=(lambda y='': all(
|
||||||
|
[self.session.cookies.get_dict(domain='.speed.cd') and
|
||||||
|
self.session.cookies.clear('.speed.cd') is None or True] +
|
||||||
['RSS' in y, 'type="password"' not in y, self.has_all_cookies(['speedian'], 'inSpeed_')] +
|
['RSS' in y, 'type="password"' not in y, self.has_all_cookies(['speedian'], 'inSpeed_')] +
|
||||||
[(self.session.cookies.get('inSpeed_' + x) or 'sg!no!pw') in self.digest for x in ['speedian']])),
|
[(self.session.cookies.get('inSpeed_' + x) or 'sg!no!pw') in self.digest for x in ['speedian']])),
|
||||||
failed_msg=(lambda y=None: u'Invalid cookie details for %s. Check settings'))
|
failed_msg=(lambda y=None: u'Invalid cookie details for %s. Check settings'))
|
||||||
|
|
Loading…
Reference in a new issue