🐛 Fixed some imports
This commit is contained in:
@@ -2,10 +2,10 @@ from functools import cached_property, cache
|
|||||||
from sqlite3 import connect
|
from sqlite3 import connect
|
||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
from src.game import Game
|
from .game import Game
|
||||||
from src.utils.save_cover import resize_cover, save_cover
|
from .save_cover import resize_cover, save_cover
|
||||||
from src.importer.source import Source, SourceIterator
|
from .source import Source, SourceIterator
|
||||||
from src.importer.decorators import replaced_by_schema_key, replaced_by_path
|
from .decorators import replaced_by_schema_key, replaced_by_path
|
||||||
|
|
||||||
|
|
||||||
class LutrisSourceIterator(SourceIterator):
|
class LutrisSourceIterator(SourceIterator):
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ configure_file(
|
|||||||
install_dir: get_option('bindir')
|
install_dir: get_option('bindir')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# TODO move to absolute imports = keep real structure, do not flatten
|
||||||
|
|
||||||
cartridges_sources = [
|
cartridges_sources = [
|
||||||
'__init__.py',
|
'__init__.py',
|
||||||
'main.py',
|
'main.py',
|
||||||
@@ -29,9 +31,13 @@ cartridges_sources = [
|
|||||||
'utils/save_cover.py',
|
'utils/save_cover.py',
|
||||||
'utils/create_dialog.py',
|
'utils/create_dialog.py',
|
||||||
|
|
||||||
|
# Added
|
||||||
'importer/sources/lutris_source.py',
|
'importer/sources/lutris_source.py',
|
||||||
'importer/importer.py',
|
'importer/importer.py',
|
||||||
|
'importer/source.py',
|
||||||
|
'utils/decorators.py',
|
||||||
|
|
||||||
|
# TODO remove before merge
|
||||||
'importers/bottles_importer.py',
|
'importers/bottles_importer.py',
|
||||||
'importers/heroic_importer.py',
|
'importers/heroic_importer.py',
|
||||||
'importers/itch_importer.py',
|
'importers/itch_importer.py',
|
||||||
|
|||||||
Reference in New Issue
Block a user