diff options
Diffstat (limited to 'browse_slack')
-rw-r--r-- | browse_slack/convert_slack.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/browse_slack/convert_slack.py b/browse_slack/convert_slack.py index af2fed9a..13604e9f 100644 --- a/browse_slack/convert_slack.py +++ b/browse_slack/convert_slack.py @@ -72,9 +72,7 @@ def contents(filename): def filenames(dir): for filename in sorted(listdir(dir)): - result = join(dir, filename) - if isfile(result): - yield result + yield join(dir, filename) for channel in json.load(open('channels.json')): for filename in filenames(channel['name']): |