diff --git a/contrib/make_android b/contrib/make_android index 11fa70f10..cfc796fba 100755 --- a/contrib/make_android +++ b/contrib/make_android @@ -21,8 +21,6 @@ if __name__ == '__main__': shutil.copyfile('scripts/authenticator.py', target + '/authenticator.py') shutil.copytree("packages",'dist/e4a-%s/packages'%version, ignore=shutil.ignore_patterns('*.pyc')) shutil.copytree("lib",'dist/e4a-%s/lib'%version, ignore=shutil.ignore_patterns('*.pyc')) - # dns is not used by android app - os.system('rm -rf %s/packages/dns'%target) os.mkdir(target + '/gui') shutil.copyfile('gui/android.py', target + '/gui/android.py') open(target + '/gui/__init__.py','w').close() diff --git a/electrum b/electrum index 338f8c1d4..e0f5dd6f0 100755 --- a/electrum +++ b/electrum @@ -37,8 +37,7 @@ elif is_bundle and sys.platform=='darwin': # pure-python dependencies need to be imported here for pyinstaller try: - if not is_android: - import dns + import dns import aes import ecdsa import requests