Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 Correct an issue in last commit

This commit is contained in:
nicolargo 2021-07-04 09:55:58 +02:00
parent 2e1b55e3e9
commit e3fab78968

View File

@ -97,7 +97,7 @@ def default_config_dir():
- Linux, SunOS, *BSD, macOS: /usr/share/doc (as defined in the setup.py files)
- Windows: %APPDATA%\glances
"""
if LINUX or SUNOS or BDS or MACOS:
if LINUX or SUNOS or BSD or MACOS:
path = '/usr/share/doc'
else:
path = os.environ.get('APPDATA')