aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/due/html.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/due/html.py b/src/due/html.py
index 519adfe..b2861ce 100644
--- a/src/due/html.py
+++ b/src/due/html.py
@@ -119,13 +119,8 @@ def manga_to_html(releasing_outdated_manga):
)
)
- if str(progress) == str(available):
- titles.pop()
-
- return
-
# Useful when debugging
- # if str(available)[0].isdigit():
+ # if str(available)[0] == "?":
# titles.pop()
# return
@@ -135,6 +130,15 @@ def manga_to_html(releasing_outdated_manga):
return
+ if str(available)[0].isdigit():
+ print(title, available)
+ available = math.floor(float(available))
+
+ if str(progress) == str(available):
+ titles.pop()
+
+ return
+
available_link = (
available
if mangadex_id is None