this repo has no description

firehose_manager.py: store firehose.db in db/ by default

Changed files
+1 -1
+1 -1
firehose_manager.py
···
import apsw
class FirehoseManager:
-
def __init__(self, fname='firehose.db'):
self.db_cnx = apsw.Connection(fname)
self.db_cnx.pragma('journal_mode', 'WAL')
with self.db_cnx:
···
import apsw
class FirehoseManager:
+
def __init__(self, fname='db/firehose.db'):
self.db_cnx = apsw.Connection(fname)
self.db_cnx.pragma('journal_mode', 'WAL')
with self.db_cnx: