tminor fixes - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 51ca7a056b62b551e16d4103ccc95a38d1fe5481 DIR parent afbf766d898d7e923a41f68a11cbc5728beb4604 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 5 Feb 2016 08:56:23 +0100 minor fixes Diffstat: M electrum | 4 ++-- M gui/kivy/main_window.py | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -71,7 +71,7 @@ if is_bundle or is_local or is_android: from electrum import SimpleConfig, Network, Wallet, WalletStorage from electrum.util import print_msg, print_stderr, json_encode, json_decode -from electrum.util import set_verbosity, InvalidPassword +from electrum.util import set_verbosity, InvalidPassword, check_www_dir from electrum.commands import get_parser, known_commands, Commands, config_variables from electrum import daemon t@@ -338,7 +338,7 @@ if __name__ == '__main__': from electrum import websockets websockets.WebSocketServer(config, d.network).start() if config.get('requests_dir'): - util.check_www_dir(config.get('requests_dir')) + check_www_dir(config.get('requests_dir')) d.join() sys.exit(0) else: DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py t@@ -71,11 +71,11 @@ class ElectrumWindow(App): _.switch_lang(language) def on_quotes(self, d): - print "main_window: on_quotes" + #Logger.info("on_quotes") pass def on_history(self, d): - print "main_window: on_history" + #Logger.info("on_history") if self.history_screen: self.history_screen.update() t@@ -292,7 +292,8 @@ class ElectrumWindow(App): def on_start(self): ''' This is the start point of the kivy ui ''' - import time; print 'python time to on_start:', time.clock(), '<<<<<<<<<' + import time + Logger.info('Time to on_start: {} <<<<<<<<'.format(time.clock())) Logger.info("dpi: {} {}".format(metrics.dpi, metrics.dpi_rounded)) win = Window win.bind(size=self.on_size,