mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
plugins/RSS: UTF-8 encode the RSS' URL to prevent an encoding error when including the URL in the reply.
This commit is contained in:
parent
ea6000b407
commit
4064da76aa
@ -139,7 +139,9 @@ class RSS(callbacks.Plugin):
|
||||
if self.registryValue(config, channel):
|
||||
for headline in headlines:
|
||||
if headline[1]:
|
||||
newheadlines.append(format('%s %u', *headline))
|
||||
newheadlines.append(format('%s %u',
|
||||
headline[0],
|
||||
headline[1].encode('utf-8')))
|
||||
else:
|
||||
newheadlines.append(format('%s', headline[0]))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user