diff options
-rw-r--r-- | pastepy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ class Paste(object): nick = mp['nick'].value.decode('utf8') or None syntax = mp['syntax'].value.decode('utf8') or None title = mp['title'].value.decode('utf8') or None - text = mp['text'].value.decode('utf8') or None + text = mp['text'].value.decode('utf8').replace('\r', '') or None hash = ''.join(random.choice(base62_alphabet) for x in xrange(5)) |