tneeded to include absolute path for optparse methods - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit dd78f0978bf5a1a1759e2c08329cadd8e4e02ec4 (DIR) parent edf293e61195cca57a0805a1f9b16404b46c3dc9 (HTM) Author: Jimbo77 <onlineregular@gmail.com> Date: Sat, 25 Aug 2012 14:16:21 -0700 needed to include absolute path for optparse methods Diffstat: M electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/electrum b/electrum t@@ -102,7 +102,7 @@ protected_commands = ['payto', 'password', 'mktx', 'seed', 'import','signmessage if __name__ == '__main__': usage = "usage: %prog [options] command\nCommands: "+ (', '.join(known_commands)) - parser = OptionParser(prog=usage) + parser = optparse.OptionParser(prog=usage) parser.add_option("-g", "--gui", dest="gui", default="lite", help="gui") parser.add_option("-w", "--wallet", dest="wallet_path", help="wallet path (default: electrum.dat)") parser.add_option("-o", "--offline", action="store_true", dest="offline", default=False, help="remain offline")