Fix path to logs.db in history manager
Logs.db is always at data_root, even if we set another config directory with -c
This commit is contained in:
parent
575afb0837
commit
0f1d04e488
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class AppActions():
|
||||||
gajim.interface.instances['accounts'] = config.AccountsWindow()
|
gajim.interface.instances['accounts'] = config.AccountsWindow()
|
||||||
|
|
||||||
def on_history_manager(self, action, param):
|
def on_history_manager(self, action, param):
|
||||||
config_path = '-c %s' % gajim.gajimpaths.config_root
|
config_path = '-c %s' % gajim.gajimpaths.data_root
|
||||||
posix = os.name != 'nt'
|
posix = os.name != 'nt'
|
||||||
if os.path.exists('history_manager.exe'): # Windows
|
if os.path.exists('history_manager.exe'): # Windows
|
||||||
helpers.exec_command('history_manager.exe %s' % config_path,
|
helpers.exec_command('history_manager.exe %s' % config_path,
|
||||||
|
|
Loading…
Add table
Reference in a new issue