mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 01:35:23 +03:00
Correct #Issue #149
This commit is contained in:
parent
7f4f1a4be4
commit
9bc8746468
@ -44,7 +44,7 @@ import json
|
||||
import collections
|
||||
|
||||
# Somes libs depends of OS
|
||||
is_Bsd = sys.platform.endswith('bsd')
|
||||
is_Bsd = sys.platform.find('bsd') != -1
|
||||
is_Linux = sys.platform.startswith('linux')
|
||||
is_Mac = sys.platform.startswith('darwin')
|
||||
is_Windows = sys.platform.startswith('win')
|
||||
|
Loading…
Reference in New Issue
Block a user