netromdk / slacker

Slacker - Easy access to the Slack API and admin of workspaces/teams.
MIT License
14 stars 0 forks source link

Create destination folder for emoji.list when downloading #84

Closed netromdk closed 6 years ago

netromdk commented 6 years ago

Expected behavior

Download emojis to a folder should try to create the folder if it doesn't exist.

Actual behavior

Getting the exception:

<class 'FileNotFoundError'> [Errno 2] No such file or directory: '/tmp/testfolder/emoji.png'

Steps to reproduce behavior

% rm -fr /tmp/testfolder
% ./slacker.py -- emoji.list -p /tmp/testfolder