Skip to content

Commit

Permalink
Don't print newline at end of output
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchantastic committed Nov 4, 2021
1 parent a665e7e commit 44daa6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,10 @@
<integer>10</integer>
</dict>
</dict>
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>3.1.0</string>
<string>3.1.1</string>
<key>webaddress</key>
<string>https://github.com/alexchantastic/alfred-lipsum-workflow</string>
</dict>
Expand Down
3 changes: 2 additions & 1 deletion lipsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ def lipsum(type):
else:
return lorem.get_sentence(count)

print(lipsum(type))
sys.stdout.write(lipsum(type))
sys.stdout.flush()

0 comments on commit 44daa6f

Please sign in to comment.