diff --git a/core/db.py b/core/db.py index 9c8660c..fee8d9d 100755 --- a/core/db.py +++ b/core/db.py @@ -9,7 +9,7 @@ def get_db_connection(conn, name=''): "returns an sqlite3 connection to a persistent database" if not name: - name = '%s.%s.db' % (conn.nick, conn.server) + name = '{}.db'.format(conn.name) threadid = thread.get_ident() if name in threaddbs and threadid in threaddbs[name]: