Entferne \n

This commit is contained in:
Andreas Bielawski 2016-11-22 13:25:13 +01:00
parent 50f7e3f142
commit de1898dbc1

1
bot.py
View File

@ -91,6 +91,7 @@ def cleanRSS(str):
str = str.replace('The post.*appeared first on Sugoi! Anime Blog.', '')
str = str.replace('Der Beitrag.*erschien zuerst auf MAnime.de.', '')
str = re.sub('http://www\.serienjunkies.de/.*\.html', '', str)
str = str.replace('\n', '')
return str
def check_chat(bot, username):