Replace argument

main
Bob Mottram 2021-11-01 20:12:04 +00:00
parent 46d171dd5c
commit 5d56b08d14
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ def _saveCustomEmoji(session, baseDir: str, emojiName: str, url: str,
if debug:
print('EX: Custom emoji is wrong format ' + url)
return
emojiName = emojiName.replace(':').strip().lower()
emojiName = emojiName.replace(':', '').strip().lower()
customEmojiDir = baseDir + '/emojicustom'
if not os.path.isdir(customEmojiDir):
os.mkdir(customEmojiDir)