Removed unneeded prints

This commit is contained in:
2017-08-06 16:24:52 +02:00
parent a83f2c6926
commit 0594320abc

View File

@@ -20,7 +20,6 @@ def main():
try: try:
opts, args = getopt.getopt(sys.argv[1:], "q", ["quicknote"]) opts, args = getopt.getopt(sys.argv[1:], "q", ["quicknote"])
except getopt.GetoptError as err: except getopt.GetoptError as err:
# print help information and exit:
print(err) print(err)
sys.exit(2) sys.exit(2)
if not opts: if not opts:
@@ -28,10 +27,8 @@ def main():
for o, a in opts: for o, a in opts:
if o in ("-q", "--quicknote"): if o in ("-q", "--quicknote"):
print("New quicknote")
new_quicknote() new_quicknote()
else: else:
assert False, "unhandled option" assert False, "unhandled option"
#print(mainUI.MainUI().open())
if __name__ == "__main__": if __name__ == "__main__":
main() main()