remove stray print statement, add default behaviour
This commit is contained in:
parent
3c98849b64
commit
42e64de20f
4
iris.py
4
iris.py
|
@ -304,8 +304,10 @@ if __name__ == "__main__":
|
|||
if not topic_no:
|
||||
raise IrisError("invalid topic number")
|
||||
|
||||
print(messages.get_hash_from_topic_no(topic_no))
|
||||
messages.create_post(messages.get_hash_from_topic_no(topic_no))
|
||||
|
||||
sys.exit(0)
|
||||
|
||||
# default behaviour - show unread topics
|
||||
Display.print_as_feed(messages.unread_topics())
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user