From be743200414ee7a9dbd643a6bba004323fea4da2 Mon Sep 17 00:00:00 2001 From: Ali Parlakci Date: Tue, 10 Jul 2018 02:41:53 +0300 Subject: [PATCH] Uncomment error handling code --- script.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script.py b/script.py index ce6669f..c7ffbf2 100644 --- a/script.py +++ b/script.py @@ -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...")