1
0

use resource file; change default ui

This commit is contained in:
thomasv
2012-02-14 11:33:09 +01:00
parent 7ce6860f42
commit bf303ef50c
4 changed files with 29 additions and 14 deletions

View File

@@ -49,15 +49,15 @@ if __name__ == '__main__':
wallet = Wallet(interface)
wallet.set_path(options.wallet_path)
cmd = args[0] if len(args) > 0 else 'gtk'
cmd = args[0] if len(args) > 0 else 'qt'
firstarg = args[1] if len(args) > 1 else ''
if cmd in ['gtk','qt'] or re.match('^bitcoin:', cmd):
if cmd == 'qt':
import gui_qt as gui
else:
if cmd == 'gtk':
import gui
else:
import gui_qt as gui
interface.get_servers()
gui = gui.ElectrumGui(wallet)