Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
putro
autonym
Commits
45b8ac4a
Commit
45b8ac4a
authored
Apr 02, 2014
by
putro
Browse files
small fixes
parent
833e1a48
Changes
2
Hide whitespace changes
Inline
Side-by-side
checks.py
View file @
45b8ac4a
...
...
@@ -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
main.py
View file @
45b8ac4a
...
...
@@ -46,7 +46,6 @@ def menu():
print
bcolors
.
YELLOW
+
"
\n
debug: %s
\n
"
%
config
[
'last_message'
]
+
bcolors
.
ENDC
else
:
print
bcolors
.
RED
+
"
\n
debug: %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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment