aboutsummaryrefslogtreecommitdiff
path: root/plugins/readms.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readms.py')
-rwxr-xr-xplugins/readms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/readms.py b/plugins/readms.py
index 4a9674d..0ebbe13 100755
--- a/plugins/readms.py
+++ b/plugins/readms.py
@@ -58,7 +58,7 @@ def list_chapters(url, latest):
print(json.dumps({ "items": chapters }))
def download_chapter(url, download_dir):
- 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)
@@ -98,7 +98,7 @@ def download_chapter(url, download_dir):
url = "https://readms.net" + next_page
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)