No FileNotFoundError on Python 3

pull/18/head
David Trail 10 years ago
parent 72eacc0644
commit 2a184b5853

@ -25,7 +25,7 @@ except ImportError:
def get_sentence():
return ' '.join(words[:randint(50, 150)])
except FileNotFoundError:
except IOError:
def get_sentence():
return '''I have been Shreddited for privacy!\n\n\
https://github.com/x89/Shreddit/'''

Loading…
Cancel
Save