Permalink
Browse files

skip single letter roman nums

  • Loading branch information...
1 parent 32d6324 commit 39053a0e9081be3e9d6a0947980c43bb2ed39bc0 @tomviner committed Mar 1, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 romannums.py
View
@@ -38,6 +38,8 @@ def attempt_roman(tweet):
"""
for word in tweet.split():
+ if len(word) == 1:
+ continue
try:
return to_den(word)
except KeyError:

0 comments on commit 39053a0

Please sign in to comment.