REEEEEEEEEEEEEEEE
This commit is contained in:
parent
e0c86d16c7
commit
85f99ea3d3
2
mcUp.py
2
mcUp.py
@ -29,7 +29,7 @@ print(args.o)
|
|||||||
def download(project, what):
|
def download(project, what):
|
||||||
versionToDownload = what
|
versionToDownload = what
|
||||||
output = parsers.modrinth.getDownloadURL(project, what)
|
output = parsers.modrinth.getDownloadURL(project, what)
|
||||||
response = requests.get(output[0], stream=True, timeout=1)
|
response = requests.get(output[0], stream=True, timeout=10)
|
||||||
if args.o != None: # Check if user set an output filepath
|
if args.o != None: # Check if user set an output filepath
|
||||||
output_file = args.o
|
output_file = args.o
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user