From 696cb5c25e9b4834c3bde8a3c452deaa308c633c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Bor=C3=BDsek?= Date: Sat, 30 Oct 2021 10:45:12 +0200 Subject: [PATCH] (Fix) Add achievements from non-programming tasks --- endpoint/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoint/module.py b/endpoint/module.py index b4da207..f0861cb 100644 --- a/endpoint/module.py +++ b/endpoint/module.py @@ -333,7 +333,7 @@ def on_post(self, req, resp, id): ok=(result['result'] == 'ok') ) - for l in result['report']: + for l in result['report'].split('\n'): if l.startswith('action '): util.module.perform_action(module, user, l.strip())