Fixed plugin_path bug

This commit is contained in:
Christoph Zimmermann 2023-10-29 14:50:59 +01:00
parent eb72dbe35d
commit 1eb9187908

View File

@ -155,7 +155,7 @@ class GlancesStats(object):
path = config.parser['global']['plugin_dir'] path = config.parser['global']['plugin_dir']
if args and 'plugin_dir' in args: if args and 'plugin_dir' in args:
path = args.plugin_path path = args.plugin_dir
if path: if path:
# Get list before starting the counter # Get list before starting the counter