From 8769a6daf09224de272260205ad65e200e296361 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 14 Jan 2014 14:12:49 +0900 Subject: [PATCH] catch err 10054 --- aqt/sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/sync.py b/aqt/sync.py index 2a38b158b..84ba7ce9f 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -170,6 +170,8 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""") elif "10061" in err or "10013" in err or "10053" in err: return _( "Antivirus or firewall software is preventing Anki from connecting to the internet.") + elif "10054" in err: + return _("Connection timed out. Either your internet connection is experiencing problems, or you have a very large file in your media folder.") elif "Unable to find the server" in err: return _( "Server not found. Either your connection is down, or antivirus/firewall "