electrum

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

commit 56dc9f7f809fdf3c14a552950cf6b5a508bb8b35
parent 1b65dd7974ba4aa037fa88a854e1abc634fb9bb8
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 21 Feb 2015 08:48:15 +0100

cleanup dead code

Diffstat:
Mgui/qt/lite_window.py | 7-------
Mlib/util.py | 12------------
2 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/gui/qt/lite_window.py b/gui/qt/lite_window.py @@ -13,7 +13,6 @@ except ImportError: sys.exit(0) from decimal import Decimal as D -from electrum.util import get_resource_path as rsrc from electrum.bitcoin import is_valid from electrum.i18n import _ import decimal @@ -867,9 +866,3 @@ class MiniDriver(QObject): self.window.update_history(tx_history) -if __name__ == "__main__": - app = QApplication(sys.argv) - with open(rsrc("style.css")) as style_file: - app.setStyleSheet(style_file.read()) - mini = MiniWindow() - sys.exit(app.exec_()) diff --git a/lib/util.py b/lib/util.py @@ -63,18 +63,6 @@ def user_dir(): -def get_resource_path(*args): - return os.path.join(".", *args) - - -def local_data_dir(): - """Return path to the data folder.""" - assert sys.argv - prefix_path = os.path.dirname(sys.argv[0]) - local_data = os.path.join(prefix_path, "data") - return local_data - - def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespaces=False): from decimal import Decimal s = Decimal(x)