Reticulum/RNS/vendor/platformutils.py
2021-12-01 11:39:06 +01:00

7 lines
166 B
Python

def get_platform():
from os import environ
if 'ANDROID_ARGUMENT' in environ:
return 'android'
else:
import sys
return sys.platform