浏览代码

fix wrong attribute name

Oz N Tiram 8 年之前
父节点
当前提交
c15731c020
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pwman/data/drivers/sqlite.py

+ 1 - 1
pwman/data/drivers/sqlite.py

@@ -60,7 +60,7 @@ class SQLite(Database):
         try:
             self._con = sqlite.connect(self._filename)
         except sqlite.OperationalError as E:
-            print("could not open %s" % self._fname)
+            print("could not open %s" % self._filename)
             raise E
 
         self._cur = self._con.cursor()