From 36238298186cf7be7020065c53f1e98985b386fb Mon Sep 17 00:00:00 2001
From: Marc <52708150+marcpinet@users.noreply.github.com>
Date: Wed, 12 Oct 2022 08:48:33 +0200
Subject: [PATCH] Fixed name "lib" colliding with existing lib module
---
main.pyw | 4 ++--
{lib => util}/gui.py | 2 +-
{lib => util}/nyaa.py | 0
3 files changed, 3 insertions(+), 3 deletions(-)
rename {lib => util}/gui.py (99%)
rename {lib => util}/nyaa.py (100%)
diff --git a/main.pyw b/main.pyw
index 2ba4628..90e4139 100644
--- a/main.pyw
+++ b/main.pyw
@@ -1,7 +1,7 @@
# ------------------------------IMPORTS------------------------------
-from lib import gui
+from util import gui
from PyQt5 import QtWidgets, QtGui
@@ -17,7 +17,7 @@ def main() -> None:
Make sure to write the title in Japanese.
- (e.g, instead of writting My Hero Academia, write Boku no Hero Academia).
+ (e.g, instead of writing My Hero Academia, write Boku no Hero Academia).
Uploaders often use the Japanese title, you won't find your anime otherwise.
You may refer to MyAnimeList.net so you can get both translations.
Don't worry, there is no case sensitivity.
diff --git a/lib/gui.py b/util/gui.py
similarity index 99%
rename from lib/gui.py
rename to util/gui.py
index 7b50799..6bca8cb 100644
--- a/lib/gui.py
+++ b/util/gui.py
@@ -246,7 +246,7 @@ def show_error_popup(self, error_message: str) -> None:
msg.setWindowIcon(QtGui.QIcon(ICON_PATH))
msg.exec_()
- def show_info_popup(self, info_message: str):
+ def show_info_popup(self, info_message: str) -> None:
"""Show an info popup message
Args:
diff --git a/lib/nyaa.py b/util/nyaa.py
similarity index 100%
rename from lib/nyaa.py
rename to util/nyaa.py