1
0
Fork 0

emoji_name shouldn't contain the extension.

This commit is contained in:
Ash Wilson 2015-02-24 21:57:25 -06:00
parent e3bdb7824f
commit 8caaee1296
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ url = "https://{}.slack.com/customize/emoji".format(team_name)
for filename in sys.argv[1:]:
print("Processing {}.".format(filename))
emoji_name = os.path.basename(filename)
emoji_name = os.path.splitext(os.path.basename(filename))[0]
headers = {
'Cookie': cookie,