Skip to content

Commit

Permalink
(Fix) Add achievements from non-programming tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
BorysekOndrej authored Oct 30, 2021
1 parent 2794a4a commit 696cb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoint/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 696cb5c

Please sign in to comment.