WIP: change default data directories, subdirectories and config file
This commit is contained in:
parent
e8da744744
commit
bdddf58712
27 changed files with 263 additions and 121 deletions
|
@ -12,7 +12,7 @@ class BootstrapperDb(Db.Db):
|
|||
def __init__(self):
|
||||
self.version = 7
|
||||
self.hash_ids = {} # hash -> id cache
|
||||
super(BootstrapperDb, self).__init__({"db_name": "Bootstrapper"}, "%s/bootstrapper.db" % config.data_dir)
|
||||
super(BootstrapperDb, self).__init__({"db_name": "Bootstrapper"}, config.start_dir / 'bootstrapper.db')
|
||||
self.foreign_keys = True
|
||||
self.checkTables()
|
||||
self.updateHashCache()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue