From 02b2dc166eb63030ae683e77dde8f8a53e461da3 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 27 Jan 2020 20:09:02 -0800 Subject: [PATCH] Fix docstring incorrectly referring to constants. --- timesearch_modules/tsdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesearch_modules/tsdb.py b/timesearch_modules/tsdb.py index 7b37619..eb2022e 100644 --- a/timesearch_modules/tsdb.py +++ b/timesearch_modules/tsdb.py @@ -214,7 +214,7 @@ class TSDB: def _check_version(self): ''' - Compare database's user_version against constants.DATABASE_VERSION, + Compare database's user_version against DATABASE_VERSION, raising exceptions.DatabaseOutOfDate if not correct. ''' existing = self.cur.execute('PRAGMA user_version').fetchone()[0]