if len(args) == 1:
text = open(args).read()
should be args...
Thanks for the bug report.
Fixed in https://github.com/rspivak/slimit/tree/0.5.2
I've also added you to CREDIT file.
thanks for the quick fix! not sure I should be listed in the CREDITS, but if you like to see me in the list could you please replace d-m-k with Dima Kozlov.
Thanks. Changed your nickname to your real name.