use resource file; change default ui
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user