remove stray print statement, add default behaviour

This commit is contained in:
chiptune 2023-11-13 15:47:32 -06:00
parent 3c98849b64
commit 42e64de20f
1 changed files with 3 additions and 1 deletions

View File

@ -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())