diff options
-rw-r--r-- | browse_slack/convert_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browse_slack/convert_slack.py b/browse_slack/convert_slack.py index 12785b6b..99a4af1b 100644 --- a/browse_slack/convert_slack.py +++ b/browse_slack/convert_slack.py @@ -32,8 +32,6 @@ from os import listdir from os.path import isfile, join, basename, splitext from urllib.parse import urlparse -user_id = {} # name -> index - items = [] def look_up_ppm_image(url): @@ -43,6 +41,8 @@ def look_up_ppm_image(url): with open(filename) as f: return f.read() +user_id = {} # name -> index + def load_users(): stderr.write('loading users..\n') length = 0 |