Browse Source

remove kivy platform check

patch-4
Sander van Grieken 3 years ago
parent
commit
64de9807ac
  1. 6
      electrum/logging.py

6
electrum/logging.py

@ -353,9 +353,9 @@ def get_logfile_path() -> Optional[pathlib.Path]:
def describe_os_version() -> str:
if 'ANDROID_DATA' in os.environ:
from kivy import utils
if utils.platform != "android":
return utils.platform
#from kivy import utils
#if utils.platform != "android":
# return utils.platform
import jnius
bv = jnius.autoclass('android.os.Build$VERSION')
b = jnius.autoclass('android.os.Build')

Loading…
Cancel
Save