mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3: port one last use of im_func
This commit is contained in:
parent
54ddf5ec5f
commit
3972c79375
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user