mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-30 12:43:24 +03:00
Also search glances.conf file in /usr/share/doc/glances/glances.conf #1862 Correct an issue in last commit
This commit is contained in:
parent
2e1b55e3e9
commit
e3fab78968
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user