Ersetze doch keine Zeilenumbrüche

This commit is contained in:
Andreas Bielawski 2016-11-22 19:42:38 +01:00
parent de1898dbc1
commit 1a993d91ee

3
bot.py
View File

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