···1+--- a/wee_slack.py
2++++ b/wee_slack.py
3+@@ -4560,8 +4560,7 @@
4+5+ def load_emoji():
6+ try:
7+- DIR = w.info_get('weechat_dir', '')
8+- with open('{}/weemoji.json'.format(DIR), 'r') as ef:
9++ with open('@out@/share/wee-slack/weemoji.json', 'r') as ef:
10+ emojis = json.loads(ef.read())
11+ if 'emoji' in emojis:
12+ print_error('The weemoji.json file is in an old format. Please update it.')