Skip to content

Commit

Permalink
mac: add os_is_mac
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed May 15, 2024
1 parent 6208f6c commit 68a5d8e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automon/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .helpers import *
from .log import Logging
from .log import Logging, logging
from .integrations import os_is_mac
1 change: 1 addition & 0 deletions automon/integrations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .mac import os_is_mac
1 change: 1 addition & 0 deletions automon/integrations/mac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .airport import Airport
from .macchanger import MacChanger
from .check import os_is_mac
7 changes: 7 additions & 0 deletions automon/integrations/mac/check.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import sys


def os_is_mac():
if sys.platform == 'darwin':
return True
return False

0 comments on commit 68a5d8e

Please sign in to comment.