add darwin check to common
This commit is contained in:
parent
310d1e4e6e
commit
16cc7be912
@ -314,3 +314,9 @@ def is_ip(ip):
|
||||
return True
|
||||
except socket.error:
|
||||
return False
|
||||
|
||||
def osx_check():
|
||||
if platform.system() in ("Darwin"):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user