Fix Ubuntu check - forgot to actually inspect the distro
This commit is contained in:
parent
2bac1c10b0
commit
2b89494405
1 changed files with 1 additions and 1 deletions
|
|
@ -125,4 +125,4 @@ def is_mac():
|
|||
|
||||
|
||||
def is_ubuntu():
|
||||
return platform.system() == 'Linux'
|
||||
return platform.system() == 'Linux' and platform.linux_distribution()[0] == 'Ubuntu'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue