mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
fix imports from the wrong module
when module_a.submodule_a imports module_b, then module_c should not use "from module_a.submodule_a import module_b"
This commit is contained in:
parent
8ece061387
commit
93b49c66e3
@ -58,7 +58,7 @@ class StorePlugin(object): # {{{
|
|||||||
self.name = name
|
self.name = name
|
||||||
self.base_plugin = base_plugin
|
self.base_plugin = base_plugin
|
||||||
if config is None:
|
if config is None:
|
||||||
from calibre.gui2 import JSONConfig
|
from calibre.utils.config import JSONConfig
|
||||||
config = JSONConfig('store/stores/' + ascii_filename(self.name))
|
config = JSONConfig('store/stores/' + ascii_filename(self.name))
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user