Updated execute to handle new volume name argument. Updated Path to default to osx Volume Path.

This commit is contained in:
2019-12-31 14:59:22 -05:00
parent b59851a377
commit 60f98832c4

View File

@@ -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