mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
add darwin check to common
This commit is contained in:
parent
ce191efc54
commit
87e77565fc
1 changed files with 6 additions and 0 deletions
|
@ -358,3 +358,9 @@ def pythonize(var):
|
||||||
if isinstance(var, klass):
|
if isinstance(var, klass):
|
||||||
return klass(var)
|
return klass(var)
|
||||||
return var
|
return var
|
||||||
|
|
||||||
|
def osx_check():
|
||||||
|
if platform.system() in ("Darwin"):
|
||||||
|
return True
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue