From 60f98832c479db242ca4b52638784cbcf307eae8 Mon Sep 17 00:00:00 2001 From: Dan Dembinski Date: Tue, 31 Dec 2019 14:59:22 -0500 Subject: [PATCH] Updated execute to handle new volume name argument. Updated Path to default to osx Volume Path. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index cae5e21..ada9aea 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,7 @@ def download(): url = [] base = [] name = [] - PATH = 'Manga/' + PATH = '/Volumes/Manga' # PATH = 'smb://MediaServer._smb._tcp.local/Downloads/Manga/' for x in result: # print(result[y][0]) @@ -40,7 +40,7 @@ def download(): if active[0] != 0: print("""manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -g """) - execute = """manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -g """ + execute = """manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -N """ os.system(execute) y = y+1