core: if we are in dev version and it's possible, repository data are now checked and added to SàT version

This commit is contained in:
Goffi 2015-03-19 19:47:01 +01:00
commit 2900e815c4

View file

@ -226,7 +226,7 @@ class Memory(object):
fixLocalDir(False) # XXX: tmp update code, will be removed in the future
self.config = self.parseMainConf()
database_file = os.path.expanduser(os.path.join(self.getConfig('', 'local_dir'), C.SAVEFILE_DATABASE))
self.storage = SqliteStorage(database_file, host.__version__)
self.storage = SqliteStorage(database_file, host.version)
PersistentDict.storage = self.storage
self.params = Params(host, self.storage)
log.info(_("Loading default params template"))