Uncomment error handling code

This commit is contained in:
Ali Parlakci
2018-07-10 02:41:53 +03:00
parent e27ebd1c44
commit be74320041

View File

@@ -462,10 +462,10 @@ def download(submissions):
downloadedCount -= 1
duplicates += 1
# except Exception as exception:
# print(exception)
# FAILED_FILE.add({int(i+1):[str(exception),submissions[i]]})
# downloadedCount -= 1
except Exception as exception:
print(exception)
FAILED_FILE.add({int(i+1):[str(exception),submissions[i]]})
downloadedCount -= 1
else:
print("No match found, skipping...")