Updated logic in image downloader.

This commit is contained in:
Ronald Farrer 2021-04-20 14:31:22 -07:00
parent 2675646130
commit 09a28b764a

View file

@ -117,7 +117,6 @@ def dlimgs(girl, album, url):
if os.path.exists(filename) == True:
print("File: " + str(filename) + " already downloaded, skipping!")
return
else:
print("File: " + str(filename) + " not downloaded, downloading now!")
response = requests.get(url, stream=True)
with open(filename, 'wb') as out_file: