Commit 45b8ac4a authored by putro's avatar putro

small fixes

parent 833e1a48
......@@ -41,13 +41,6 @@ def OptionsCheck(config):
f.close()
os.remove(os.path.dirname(sys.argv[0]) + "/check")
# try:
# f = open(os.path.dirname(sys.argv[0]) + "/" + config['stats']['stats_mlist'], "r")
# except:
# download(config['stats']['stats_mlist'], config)
# else:
# f.close()
try:
download(config['stats']['stats_mlist'], config)
except:
......@@ -60,7 +53,5 @@ def OptionsCheck(config):
except OSError: # usally means that mixmaster could not be executed
raise MixError('Could not find mixmaster binary.')
#import gpgfuncts
#gpgfuncts.selectSecKey(options.nym_email)
return True
......@@ -46,7 +46,6 @@ def menu():
print bcolors.YELLOW + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC
else:
print bcolors.RED + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC
#present menu and get selection
selection = raw_input("Enter\n\
1 to choose/select active nym\n\
2 to write a message (as active nym)\n\
......@@ -137,7 +136,7 @@ def deleteNym():
config['last_message'] = "Function not yet implemented"
#print "Choose nym to delete"
#askNym()
menu()
menu()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment