From be776e5900bf74d7b16a93fb14a2d3a1ae6d5b53 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 25 Aug 2013 07:23:57 +0530 Subject: [PATCH] Fix a regression that broke moving libraries in 1.0 Fixes #1216401 [calibre, version 1.0.0 'function' object has no attribute 'exists_at'](https://bugs.launchpad.net/calibre/+bug/1216401) --- src/calibre/gui2/actions/choose_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/actions/choose_library.py b/src/calibre/gui2/actions/choose_library.py index daaa893bab..650545fd64 100644 --- a/src/calibre/gui2/actions/choose_library.py +++ b/src/calibre/gui2/actions/choose_library.py @@ -142,7 +142,7 @@ class MovedDialog(QDialog): # {{{ def accept(self): newloc = unicode(self.loc.text()) - if not db_class.exists_at(newloc): + if not db_class().exists_at(newloc): error_dialog(self, _('No library found'), _('No existing calibre library found at %s')%newloc, show=True)