Skip to content

Commit

Permalink
RDISCROWD-5717 change banner position for save and assign
Browse files Browse the repository at this point in the history
  • Loading branch information
XiChenn committed Feb 28, 2023
1 parent 6bdfc6e commit 672006c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pybossa/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ def partial_answer(task_id=None):
sentinel.master.setex(partial_answer_key, ONE_MONTH, answer)
elif request.method == 'GET':
data = sentinel.master.get(partial_answer_key)
response['data'] = json.loads(data.decode('utf-8'))
response['data'] = json.loads(data.decode('utf-8')) if data else ''
elif request.method == 'DELETE':
sentinel.master.delete(partial_answer_key)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion pybossa/themes/default

0 comments on commit 672006c

Please sign in to comment.