Reticulum/RNS/vendor/platformutils.py

7 lines
166 B
Python
Raw Normal View History

2021-12-01 10:39:06 +00:00
def get_platform():
from os import environ
if 'ANDROID_ARGUMENT' in environ:
return 'android'
else:
import sys
return sys.platform