Browse Source

run_electrum: fix DeprecationWarning re importlib.find_loader

patch-4
SomberNight 3 years ago
parent
commit
75e7f5e2f8
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      run_electrum

4
run_electrum

@ -322,8 +322,8 @@ def main():
# config is an object passed to the various constructors (wallet, interface, gui)
if is_android:
import importlib
android_gui = 'kivy' if importlib.find_loader('kivy') else 'qml'
import importlib.util
android_gui = 'kivy' if importlib.util.find_spec('kivy') else 'qml'
from jnius import autoclass
build_config = autoclass("org.electrum.electrum.BuildConfig")
config_options = {

Loading…
Cancel
Save