Browse Source

changed print_error to NameError exception to reduce coupling

283
Jimbo77 13 years ago
parent
commit
990547a06c
  1. 3
      electrum

3
electrum

@ -167,8 +167,7 @@ if __name__ == '__main__':
except ImportError:
import electrum.gui_lite as gui
else:
print_error("Error: Unknown GUI: " + options.gui)
exit(1)
raise NameError(sys.exit("Error: Unknown GUI: " + options.gui))
gui = gui.ElectrumGui(wallet)
WalletSynchronizer(wallet,True).start()

Loading…
Cancel
Save