Bugfix on emojireplace

This commit is contained in:
ave 2019-01-18 22:37:04 +03:00
parent 026e5dc5e6
commit 1768776294
No known key found for this signature in database
GPG Key ID: 09356ABAA42C842B
1 changed files with 1 additions and 2 deletions

View File

@ -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))