Mercurial > libervia-backend
diff src/memory/memory.py @ 1375:3a20312d4012
core: if we are in dev version and it's possible, repository data are now checked and added to SàT version
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Mar 2015 19:47:01 +0100 |
parents | be3a301540c0 |
children | c7082457d03f |
line wrap: on
line diff
--- a/src/memory/memory.py Thu Mar 19 19:44:37 2015 +0100 +++ b/src/memory/memory.py Thu Mar 19 19:47:01 2015 +0100 @@ -226,7 +226,7 @@ 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"))