mirror of
https://github.com/saurabhan/Wallhaven-dl.git
synced 2026-01-05 01:18:01 +00:00
Fixed bug with extension guessing.
This commit is contained in:
@@ -124,7 +124,7 @@ def main():
|
||||
for chunk in tqdm.tqdm(imgreq.iter_content(1024), total=(int(imgreq.headers['content-length']) / 1024), unit='KB'):
|
||||
time.sleep(0.01)
|
||||
imageFile.write(chunk)
|
||||
break
|
||||
break
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user