]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/database.py
python: Fix Database().needs_upgrade()
[notmuch] / bindings / python / notmuch / database.py
index 5deb2a5dc06a62cb8d97096b376baf44812c7648..3770b13299d1af3cf4626b126c5eccbc01293911 100644 (file)
@@ -195,7 +195,7 @@ class Database(object):
         # Raise a NotmuchError if not initialized
         self._verify_initialized_db()
 
-        return notmuch_database_needs_upgrade(self._db) 
+        return nmlib.notmuch_database_needs_upgrade(self._db) 
 
     def upgrade(self):
         """Upgrades the current database