diff --git a/Shared/Utils.py b/Shared/Utils.py index 13f2022..21c6261 100644 --- a/Shared/Utils.py +++ b/Shared/Utils.py @@ -1,5 +1,6 @@ from traceback import print_exception from sys import exc_info +from platform import uname def capture_trace(): exc_type, exc_value, exc_traceback = exc_info() @@ -11,4 +12,7 @@ def is_socket_related_error(error): if type(error) is OSError: if str(error) not in ("Connection closed", "[Errno 9] Bad file descriptor"): return False - return True \ No newline at end of file + return True + +def is_wallaby(): + return "ARMv7" in uname() \ No newline at end of file