Fixed typo on main.db

This commit is contained in:
Fabio Manganiello 2018-12-18 22:20:33 +01:00
parent 56b48a81b7
commit f9b23afbb6

View file

@ -67,7 +67,7 @@ class Config(object):
self._config['workdir'] = self._workdir_location
os.makedirs(self._config['workdir'], exist_ok=True)
self._config['db'] = self._config.get('main_db', {
self._config['db'] = self._config.get('main.db', {
'engine': 'sqlite:///' + os.path.join(
os.environ['HOME'], '.local', 'share', 'platypush', 'main.db')
})