emoji_name shouldn't contain the extension.
This commit is contained in:
parent
e3bdb7824f
commit
8caaee1296
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue