This commit is contained in:
Kovid Goyal 2019-04-24 12:11:36 +05:30
commit b42963af61
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -530,7 +530,7 @@ class BasicNewsRecipe(Recipe):
@property
def cloned_browser(self):
if self.get_browser.im_func is BasicNewsRecipe.get_browser.im_func:
if hasattr(self.get_browser, 'is_base_class_implementation'):
# We are using the default get_browser, which means no need to
# clone
br = BasicNewsRecipe.get_browser(self)