erkin / ponysay

Pony rewrite of cowsay.
GNU General Public License v3.0
1.22k stars 82 forks source link

Updated setup.py (workaround for issue 229) #231

Closed c0d3st0rm closed 8 years ago

c0d3st0rm commented 8 years ago

This is a workaround for issue #229, where an exception is thrown if the file exists. The try and except statement will ignore any "File exists" errors, but raise an exception for any others.

c0d3st0rm commented 8 years ago

Is this going to be merged? It's really just for users who have had the same issue as me.

maandree commented 8 years ago

Wouldn't it be better to remove the file if it already exists, and try again? Perhaps it has been changed.

c0d3st0rm commented 8 years ago

It was never installed in the first place, which is strange. But then I'm not the only person who has had this error either - I wonder if they had installed it beforehand too.

EDIT: doesn't seem so, as they both have fresh installs.