Commit 45b8ac4a authored by putro's avatar putro
Browse files

small fixes

parent 833e1a48
...@@ -41,13 +41,6 @@ def OptionsCheck(config): ...@@ -41,13 +41,6 @@ def OptionsCheck(config):
f.close() f.close()
os.remove(os.path.dirname(sys.argv[0]) + "/check") 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: try:
download(config['stats']['stats_mlist'], config) download(config['stats']['stats_mlist'], config)
except: except:
...@@ -60,7 +53,5 @@ def OptionsCheck(config): ...@@ -60,7 +53,5 @@ def OptionsCheck(config):
except OSError: # usally means that mixmaster could not be executed except OSError: # usally means that mixmaster could not be executed
raise MixError('Could not find mixmaster binary.') raise MixError('Could not find mixmaster binary.')
#import gpgfuncts
#gpgfuncts.selectSecKey(options.nym_email)
return True return True
...@@ -46,7 +46,6 @@ def menu(): ...@@ -46,7 +46,6 @@ def menu():
print bcolors.YELLOW + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC print bcolors.YELLOW + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC
else: else:
print bcolors.RED + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC print bcolors.RED + "\ndebug: %s\n" % config['last_message'] + bcolors.ENDC
#present menu and get selection
selection = raw_input("Enter\n\ selection = raw_input("Enter\n\
1 to choose/select active nym\n\ 1 to choose/select active nym\n\
2 to write a message (as active nym)\n\ 2 to write a message (as active nym)\n\
...@@ -137,7 +136,7 @@ def deleteNym(): ...@@ -137,7 +136,7 @@ def deleteNym():
config['last_message'] = "Function not yet implemented" config['last_message'] = "Function not yet implemented"
#print "Choose nym to delete" #print "Choose nym to delete"
#askNym() #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