From f241b63eddc2dc95557cb2402c04ad92076eae67 Mon Sep 17 00:00:00 2001 From: MrTyton Date: Tue, 2 Jul 2024 06:41:35 -0400 Subject: [PATCH] Actually fix the bug instead of just updating the gitignore. --- AutomatedFanfic.code-workspace | 8 ++++++++ release-versions/fff.txt | 2 +- release-versions/latest.txt | 2 +- root/app/url_worker.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 AutomatedFanfic.code-workspace diff --git a/AutomatedFanfic.code-workspace b/AutomatedFanfic.code-workspace new file mode 100644 index 0000000..876a149 --- /dev/null +++ b/AutomatedFanfic.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/release-versions/fff.txt b/release-versions/fff.txt index 076d9f6..5156ccf 100644 --- a/release-versions/fff.txt +++ b/release-versions/fff.txt @@ -1 +1 @@ -4.34.8 \ No newline at end of file +4.35.6 \ No newline at end of file diff --git a/release-versions/latest.txt b/release-versions/latest.txt index f1d7839..e3a4d75 100644 --- a/release-versions/latest.txt +++ b/release-versions/latest.txt @@ -1 +1 @@ -2024.05.29-4 \ No newline at end of file +2024.07.02 \ No newline at end of file diff --git a/root/app/url_worker.py b/root/app/url_worker.py index 8d84c8d..b0d1fdc 100644 --- a/root/app/url_worker.py +++ b/root/app/url_worker.py @@ -131,7 +131,7 @@ def continue_failure(fanfic: fanfic_info.FanficInfo, pushbullet: pushbullet_noti # If the fanfic has reached the maximum number of repeats, log a failure and return if fanfic.reached_maximum_repeats(): ff_logging.log_failure(f"Reached maximum number of repeats for {fanfic.url}. Skipping.") - pushbullet.send_notification("Fanfiction Download Failed", fanfic.url) + pushbullet.send_notification("Fanfiction Download Failed", fanfic.url, fanfic.site) else: # Increment the repeat count and put the fanfic back in the queue fanfic.increment_repeat()