aboutsummaryrefslogtreecommitdiff
path: root/plugins/manganelo.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/manganelo.py')
-rwxr-xr-xplugins/manganelo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/manganelo.py b/plugins/manganelo.py
index 36f1daa..531fa8d 100755
--- a/plugins/manganelo.py
+++ b/plugins/manganelo.py
@@ -63,7 +63,7 @@ def download_chapter(url, download_dir):
print("Failed to list chapters, server responded with status code %d" % response.status_code)
exit(2)
- in_progress_filepath = os.path.join(download_dir, "in_progress")
+ in_progress_filepath = os.path.join(download_dir, ".in_progress")
with open(in_progress_filepath, "w") as file:
file.write(url)
@@ -78,7 +78,7 @@ def download_chapter(url, download_dir):
exit(1)
img_number += 1
- with open(os.path.join(download_dir, "finished"), "w") as file:
+ with open(os.path.join(download_dir, ".finished"), "w") as file:
file.write("1")
os.remove(in_progress_filepath)