mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
remove is_kivy test
This commit is contained in:
parent
56c4a8746f
commit
80c1aab9c3
1 changed files with 1 additions and 2 deletions
3
electrum
3
electrum
|
@ -25,7 +25,6 @@ script_dir = os.path.dirname(os.path.realpath(__file__))
|
|||
is_bundle = getattr(sys, 'frozen', False)
|
||||
is_local = not is_bundle and os.path.exists(os.path.join(script_dir, "setup-release.py"))
|
||||
is_android = 'ANDROID_DATA' in os.environ
|
||||
is_kivy = os.environ.get('PYTHONHOME','').find('kivy') != -1
|
||||
|
||||
if is_local or is_android:
|
||||
sys.path.insert(0, os.path.join(script_dir, 'packages'))
|
||||
|
@ -284,7 +283,7 @@ if __name__ == '__main__':
|
|||
config_options = {
|
||||
'verbose': True,
|
||||
'cmd': 'gui',
|
||||
'gui': 'kivy' if is_kivy else 'android',
|
||||
'gui': 'kivy',
|
||||
#'auto_connect': True,
|
||||
}
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue