diff --git a/updatePacks.py b/updatePacks.py index ac85991fd36ba447e500ad39df31e65901e50528..fe9bded92c301659b6d5a27e912b715788b15fbd 100644 --- a/updatePacks.py +++ b/updatePacks.py @@ -42,10 +42,13 @@ elif sticker_index == 0: else: json_pack['stickers'][sticker_index-1]['body'] = new_body # Print the body of all the stickers - print(Fore.GREEN + 'Updated!') + print(Fore.GREEN + 'Updated!'+ Style.RESET_ALL) print("New sticker pack:") for i in range(nb_stickers): - print("\t "+str(i+1) + ". " + json_pack['stickers'][i]['body']) + if i == sticker_index-1: + print("\t "+Fore.GREEN+str(i+1) + ". " + json_pack['stickers'][i]['body']+Style.RESET_ALL) + else: + print("\t "+str(i+1) + ". " + json_pack['stickers'][i]['body']) out_file = open(sys.argv[1], 'w') json.dump(json_pack, out_file, indent = 3)