mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
minor fixes
This commit is contained in:
parent
afbf766d89
commit
51ca7a056b
2 changed files with 6 additions and 5 deletions
4
electrum
4
electrum
|
@ -71,7 +71,7 @@ if is_bundle or is_local or is_android:
|
||||||
|
|
||||||
from electrum import SimpleConfig, Network, Wallet, WalletStorage
|
from electrum import SimpleConfig, Network, Wallet, WalletStorage
|
||||||
from electrum.util import print_msg, print_stderr, json_encode, json_decode
|
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.commands import get_parser, known_commands, Commands, config_variables
|
||||||
from electrum import daemon
|
from electrum import daemon
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ if __name__ == '__main__':
|
||||||
from electrum import websockets
|
from electrum import websockets
|
||||||
websockets.WebSocketServer(config, d.network).start()
|
websockets.WebSocketServer(config, d.network).start()
|
||||||
if config.get('requests_dir'):
|
if config.get('requests_dir'):
|
||||||
util.check_www_dir(config.get('requests_dir'))
|
check_www_dir(config.get('requests_dir'))
|
||||||
d.join()
|
d.join()
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -71,11 +71,11 @@ class ElectrumWindow(App):
|
||||||
_.switch_lang(language)
|
_.switch_lang(language)
|
||||||
|
|
||||||
def on_quotes(self, d):
|
def on_quotes(self, d):
|
||||||
print "main_window: on_quotes"
|
#Logger.info("on_quotes")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def on_history(self, d):
|
def on_history(self, d):
|
||||||
print "main_window: on_history"
|
#Logger.info("on_history")
|
||||||
if self.history_screen:
|
if self.history_screen:
|
||||||
self.history_screen.update()
|
self.history_screen.update()
|
||||||
|
|
||||||
|
@ -292,7 +292,8 @@ class ElectrumWindow(App):
|
||||||
def on_start(self):
|
def on_start(self):
|
||||||
''' This is the start point of the kivy ui
|
''' 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))
|
Logger.info("dpi: {} {}".format(metrics.dpi, metrics.dpi_rounded))
|
||||||
win = Window
|
win = Window
|
||||||
win.bind(size=self.on_size,
|
win.bind(size=self.on_size,
|
||||||
|
|
Loading…
Add table
Reference in a new issue