mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix import of input plugin widget.
This commit is contained in:
parent
8810cdeeba
commit
58c4935926
@ -153,7 +153,7 @@ class Config(ResizableDialog, Ui_Dialog):
|
||||
except ImportError:
|
||||
pass
|
||||
input_widget = None
|
||||
name = 'calibre.gui2.convert.%s' % self.plumber.input_plugin.name.lower().replace(' ', '_')
|
||||
name = self.plumber.input_plugin.name.lower().replace(' ', '_')
|
||||
try:
|
||||
input_widget = __import__('calibre.gui2.convert.'+name,
|
||||
fromlist=[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user