Przeglądaj źródła

fix wrong attribute name

Oz N Tiram 8 lat temu
rodzic
commit
c15731c020
1 zmienionych plików z 1 dodań i 1 usunięć
  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()