commit dd78f0978bf5a1a1759e2c08329cadd8e4e02ec4
parent edf293e61195cca57a0805a1f9b16404b46c3dc9
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sat, 25 Aug 2012 14:16:21 -0700
needed to include absolute path for optparse methods
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -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")