mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix where there may be empty values (such as cookies) in older configurations
This commit is contained in:
parent
3814d833ad
commit
93f06af300
@ -53,9 +53,14 @@ class TorrentRssProvider(generic.TorrentProvider):
|
|||||||
self.cookies = cookies
|
self.cookies = cookies
|
||||||
|
|
||||||
def configStr(self):
|
def configStr(self):
|
||||||
return self.name + '|' + self.url + '|' + self.cookies + '|' + str(
|
return "%s|%s|%s|%d|%s|%d|%d|%d" % (self.name or '',
|
||||||
int(self.enabled)) + '|' + self.search_mode + '|' + str(int(self.search_fallback)) + '|' + str(
|
self.url or '',
|
||||||
int(self.enable_daily)) + '|' + str(int(self.enable_backlog))
|
self.cookies or '',
|
||||||
|
self.enabled,
|
||||||
|
self.search_mode or '',
|
||||||
|
self.search_fallback,
|
||||||
|
self.enable_daily,
|
||||||
|
self.enable_backlog)
|
||||||
|
|
||||||
def imageName(self):
|
def imageName(self):
|
||||||
if ek.ek(os.path.isfile,
|
if ek.ek(os.path.isfile,
|
||||||
|
Loading…
Reference in New Issue
Block a user