electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 08e7a5f05f567a9844aa4ca79c8aad62fa2c9290
parent 70d827b984abfbaf2f01934aaf51412cf9682608
Author: ThomasV <thomasv@electrum.org>
Date:   Sun,  1 Apr 2018 11:18:15 +0200

remove pyjnius thread monkey patching; now in pyjnius

Diffstat:
Melectrum | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/electrum b/electrum @@ -26,21 +26,6 @@ import os import sys -# from https://gist.github.com/tito/09c42fb4767721dc323d -import threading -try: - import jnius -except: - jnius = None -if jnius: - orig_thread_run = threading.Thread.run - def thread_check_run(*args, **kwargs): - try: - return orig_thread_run(*args, **kwargs) - finally: - jnius.detach() - threading.Thread.run = thread_check_run - 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, "electrum.desktop"))