[fix][tray] not working when installed on a virtualenv

This commit is contained in:
Vinícius Moreira
2020-04-14 10:33:46 -03:00
parent e9b26ffc08
commit 2decb97179
3 changed files with 23 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ def main(tray: bool = False):
if tray or bool(args.tray):
from bauh.tray import new_tray_icon
app, widget = new_tray_icon(app_config)
app, widget = new_tray_icon(app_config, logger)
else:
from bauh.manage import new_manage_panel
app, widget = new_manage_panel(args, app_config, logger)