fix #4533
This commit is contained in:
@@ -330,7 +330,10 @@ def android_data_dir():
|
|||||||
def android_headers_dir():
|
def android_headers_dir():
|
||||||
d = android_ext_dir() + '/org.electrum.electrum'
|
d = android_ext_dir() + '/org.electrum.electrum'
|
||||||
if not os.path.exists(d):
|
if not os.path.exists(d):
|
||||||
os.mkdir(d)
|
try:
|
||||||
|
os.mkdir(d)
|
||||||
|
except FileExistsError:
|
||||||
|
pass # in case of race
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def android_check_data_dir():
|
def android_check_data_dir():
|
||||||
|
|||||||
Reference in New Issue
Block a user