From 6055f55f6b8f1f7c1ea6348f806dfa348ca7b552 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 11 Apr 2009 01:48:08 +0900 Subject: [PATCH] display the proper sync error --- ankiqt/ui/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index 02feaa4d2..6ff62a644 100644 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -54,7 +54,7 @@ class Sync(QThread): Syncing failed. Please try again in a few minutes. If the problem persists, please report it on the forum. -Error: %s""" % `error`) +Error: %s""" % `getattr(error, 'data')`) return msg def connect(self, *args):