forked from distok/cutthecord
		
	Bugfix on emojireplace
This commit is contained in:
		
							parent
							
								
									026e5dc5e6
								
							
						
					
					
						commit
						1768776294
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -34,10 +34,9 @@ for emoji in discord_emojis:
 | 
				
			||||||
        # Get full unclean filename of mutantstd emoji, generate relevant paths
 | 
					        # Get full unclean filename of mutantstd emoji, generate relevant paths
 | 
				
			||||||
        full_mutstd_name = clean_mutstd_emojis[clean_discord_emoji]
 | 
					        full_mutstd_name = clean_mutstd_emojis[clean_discord_emoji]
 | 
				
			||||||
        full_mutstd_path = os.path.join(extracted_mutstd_path, full_mutstd_name)
 | 
					        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
 | 
					        # 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)
 | 
					        shutil.copyfile(full_mutstd_path, full_discord_path)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        print("Replaced {} emoji.".format(emoji))
 | 
					        print("Replaced {} emoji.".format(emoji))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue