Ersetze doch keine Zeilenumbrüche
This commit is contained in:
parent
de1898dbc1
commit
1a993d91ee
3
bot.py
3
bot.py
@ -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()
|
||||||
|
Reference in New Issue
Block a user