Explorar o código

fix wrong attribute name

Oz N Tiram %!s(int64=8) %!d(string=hai) anos
pai
achega
c15731c020
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()