mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Disallow string based feeds in recipes
This commit is contained in:
parent
19a738a7b8
commit
b3c1ba969c
@ -889,11 +889,6 @@ class BasicNewsRecipe(Recipe):
|
|||||||
self.verbose = True
|
self.verbose = True
|
||||||
self.report_progress = progress_reporter
|
self.report_progress = progress_reporter
|
||||||
|
|
||||||
if isinstance(self.feeds, basestring):
|
|
||||||
self.feeds = eval(self.feeds)
|
|
||||||
if isinstance(self.feeds, basestring):
|
|
||||||
self.feeds = [self.feeds]
|
|
||||||
|
|
||||||
if self.needs_subscription and (
|
if self.needs_subscription and (
|
||||||
self.username is None or self.password is None or
|
self.username is None or self.password is None or
|
||||||
(not self.username and not self.password)):
|
(not self.username and not self.password)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user