From 1768776294bba80592633c4a8973b0641c7f0514 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Fri, 18 Jan 2019 22:37:04 +0300 Subject: [PATCH] Bugfix on emojireplace --- emojireplace.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emojireplace.py b/emojireplace.py index 74aef89719..8d99a7f910 100644 --- a/emojireplace.py +++ b/emojireplace.py @@ -34,10 +34,9 @@ for emoji in discord_emojis: # Get full unclean filename of mutantstd emoji, generate relevant paths full_mutstd_name = clean_mutstd_emojis[clean_discord_emoji] full_mutstd_path = os.path.join(extracted_mutstd_path, full_mutstd_name) - full_discord_path = os.path.join(extracted_discord_path, emoji) + full_discord_path = os.path.join(discord_emoji_path, emoji) # Copy and overwrite the discord emojis with the mutantstd alternatives - print("Copying {} to {}.".format(full_mutstd_path, full_discord_path)) shutil.copyfile(full_mutstd_path, full_discord_path) print("Replaced {} emoji.".format(emoji))