diff --git a/backend/experiment/rules/toontjehoger_1_mozart.py b/backend/experiment/rules/toontjehoger_1_mozart.py
index d525cd429..53694c886 100644
--- a/backend/experiment/rules/toontjehoger_1_mozart.py
+++ b/backend/experiment/rules/toontjehoger_1_mozart.py
@@ -7,7 +7,6 @@
from experiment.actions.playback import Autoplay
from experiment.actions.styles import STYLE_TOONTJEHOGER
from .base import Base
-from experiment.utils import non_breaking_spaces
from result.utils import prepare_result
@@ -118,8 +117,11 @@ def get_score(self, session):
# Feedback message
last_result = session.last_result()
section = last_result.section
- feedback = "Je hoorde {} van {}.".format(
- section.song.name, non_breaking_spaces(section.song.artist)) if section else ""
+ feedback = (
+ "Je hoorde {} van {}.".format(section.song.name, section.song.artist)
+ if section
+ else ""
+ )
# Return score view
config = {'show_total_score': True}
@@ -177,8 +179,10 @@ def get_image_trial(self, session, section_group, image_url, question, expected_
image_trial = Trial(
html=HTML(
- body=''.format(
- image_url)),
+ body=''.format(
+ image_url
+ )
+ ),
feedback_form=form,
title=self.TITLE,
)
diff --git a/backend/experiment/rules/toontjehoger_2_preverbal.py b/backend/experiment/rules/toontjehoger_2_preverbal.py
index c71c912eb..5977a7df2 100644
--- a/backend/experiment/rules/toontjehoger_2_preverbal.py
+++ b/backend/experiment/rules/toontjehoger_2_preverbal.py
@@ -162,8 +162,10 @@ def get_round1(self, session):
image_trial = Trial(
html=HTML(
- body=''.format(
- "/images/experiments/toontjehoger/preverbal_1.webp")),
+ body=''.format(
+ "/images/experiments/toontjehoger/preverbal_1.webp"
+ )
+ ),
feedback_form=form,
title=self.TITLE,
)
diff --git a/package.json b/package.json
index d110350b6..12507d9c6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "muscle",
- "version": "2.2.5",
+ "version": "2.2.6",
"private": false,
"description": "The MUSCLE platform is an application that provides an easy way to implement and run online listening experiments for music research.",
"license": "MIT",