Reticulum/RNS/vendor/platformutils.py

7 lines
166 B
Python
Raw Normal View History

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