Use dotted imports in the storage package to run on python3
This commit is contained in:
parent
9e9cffab33
commit
e1592a4260
|
@ -9,7 +9,7 @@ from os import listdir, makedirs, path, remove, rmdir
|
|||
from threading import RLock
|
||||
|
||||
from paths import lookupAppdataFolder
|
||||
from storage import InventoryItem, InventoryStorage
|
||||
from .storage import InventoryItem, InventoryStorage
|
||||
|
||||
logger = logging.getLogger('default')
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import time
|
|||
from threading import RLock
|
||||
|
||||
from helper_sql import SqlBulkExecute, sqlExecute, sqlQuery
|
||||
from storage import InventoryItem, InventoryStorage
|
||||
from .storage import InventoryItem, InventoryStorage
|
||||
|
||||
|
||||
class SqliteInventory(InventoryStorage): # pylint: disable=too-many-ancestors
|
||||
|
|
Reference in New Issue
Block a user