options, args = parser.parse_args()
if options.portable and options.wallet_path is None:
options.wallet_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'electrum.dat')
+
set_verbosity(options.verbose)
# config is an object passed to the various constructors (wallet, interface, gui)
for k, v in config_options.items():
if v is None: config_options.pop(k)
-
config = SimpleConfig(config_options)
if len(args)==0: