
class History:
    def __init__(self):
        self.conn = sqlite3.connect('.history.db')


import sqlite3

class History:
    def __init__(self, path):
        self.conn = sqlite3.connect(path)


Make database filepath configurable on History