Browse Source

Allow NilmDB.close to be called twice

tags/nilmdb-2.0.0
Jim Paris 2 years ago
parent
commit
c5c7f638e7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nilmdb/server/nilmdb.py

+ 1
- 0
nilmdb/server/nilmdb.py View File

@@ -149,6 +149,7 @@ class NilmDB(object):
if self.con:
self.con.commit()
self.con.close()
self.con = None
self.data.close()

def _sql_schema_update(self):


Loading…
Cancel
Save