From 948174f04d9dea93271bec62283b1c09e687e157 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 16 Dec 2018 17:47:21 +0100 Subject: map and citations workin --- megapixels/app/site/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'megapixels/app/site/parser.py') diff --git a/megapixels/app/site/parser.py b/megapixels/app/site/parser.py index de3ce1ff..ff209793 100644 --- a/megapixels/app/site/parser.py +++ b/megapixels/app/site/parser.py @@ -70,12 +70,12 @@ def format_applet(section, s3_path): applet['command'] = command if opt: applet['opt'] = opt - if command == 'load file': + if command == 'load_file': if opt[0:4] != 'http': applet['opt'] = s3_path + opt if len(payload) > 1: applet['fields'] = payload[1] - return "
".format(json.dumps(applet)) + return "
".format(className, json.dumps(applet)) def parse_markdown(sections, s3_path, skip_h1=False): """ -- cgit v1.2.3-70-g09d2