lovely typo

This commit is contained in:
nebula 2025-04-21 04:58:58 +00:00
parent 031b5890fc
commit c3d59db82c

View File

@ -56,7 +56,7 @@ elif argv[-1] == "dump":
with open("/dev/stdout", "w") as f:
json.dump(generate_feed(), f)
exit()
elif argv[-1] == "dump":
elif argv[-1] == "pipe":
try:
with open("/dev/stdin", "r", encoding="UTF-8") as f:
body = f.read().strip()