Skip to content

Commit

Permalink
Debug __init__ for extensions not zipped?
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePromidius committed Feb 6, 2024
1 parent e5b7cce commit 8e2220b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/sources/MangaDex/MangaDex.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class MangaDex(ISource):
NAME = 'MangaDex'
ROOT_URL = 'https://mangadex.org'
CATEGORY = 'English'
# OnGetInfo = 'GetInfo'
MaxTaskLimit = 1

def init_settings(self):
Expand Down
1 change: 1 addition & 0 deletions updater/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def zip_extension(module_id,module_name, source_folder, output_folder):
# Skip __pycache__ directories
if '__pycache__' not in file_path:
arcname = os.path.relpath(file_path, source_folder)
print("Adding", file_path, "as", arcname)
zip_ref.write(file_path, arcname)

print(f"Extension '{module_name}' successfully zipped.")
Expand Down

0 comments on commit 8e2220b

Please sign in to comment.