URL encode spaces in moodmsg icon paths
This commit is contained in:
parent
7b1fdeb62e
commit
31a06b8bcc
1 changed files with 2 additions and 2 deletions
|
@ -375,14 +375,14 @@ class PesterProfile:
|
||||||
|
|
||||||
def moodmsg(self, mood, syscolor, theme):
|
def moodmsg(self, mood, syscolor, theme):
|
||||||
return (
|
return (
|
||||||
"<c=%s>-- %s <c=%s>[%s]</c> changed their mood to %s <img src='%s' /> --</c>"
|
'<c=%s>-- %s <c=%s>[%s]</c> changed their mood to %s <img src="%s" /> --</c>'
|
||||||
% (
|
% (
|
||||||
syscolor.name(),
|
syscolor.name(),
|
||||||
self.handle,
|
self.handle,
|
||||||
self.colorhtml(),
|
self.colorhtml(),
|
||||||
self.initials(),
|
self.initials(),
|
||||||
mood.name().upper(),
|
mood.name().upper(),
|
||||||
theme["main/chums/moods"][mood.name()]["icon"],
|
theme["main/chums/moods"][mood.name()]["icon"].replace(" ", "%20"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue