From 1e1e1f6f959e13a19f3fb176857039aafebfb24d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 24 Jan 2014 03:10:04 +0900 Subject: [PATCH] catch broken pipe error --- aqt/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/sync.py b/aqt/sync.py index 84ba7ce9f..fcadf86f7 100644 --- a/aqt/sync.py +++ b/aqt/sync.py @@ -170,7 +170,7 @@ 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: + elif "10054" in err or "Broken pipe" 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 _(