Skip to content

Commit

Permalink
Fixed extensions not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePromidius committed Nov 13, 2023
1 parent 0ce6db8 commit 8d8032c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MangaManager/src/MetadataManager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@


def load_extensions():
from src.DynamicLibController.extension_manager import load_extensions
from src.DynamicLibController.extension_manager import load_extensions as ld_ext
try:
src.loaded_extensions = load_extensions(src.EXTENSIONS_DIR)
src.loaded_extensions = ld_ext(src.EXTENSIONS_DIR)
except Exception:
logger.exception("Exception loading the extensions")

def execute_gui():
# Ensure there are some settings, if not, set them as the default
Settings().set_default(SettingHeading.ExternalSources, 'default_metadata_source', "AniList")
Settings().set_default(SettingHeading.ExternalSources, 'default_cover_source', "MangaDex")

load_extensions()
app = MainWindow()

try:
Expand Down

0 comments on commit 8d8032c

Please sign in to comment.