diff --git a/passbook/stages/otp_time/stage.py b/passbook/stages/otp_time/stage.py index bd557cc66..182ea22c6 100644 --- a/passbook/stages/otp_time/stage.py +++ b/passbook/stages/otp_time/stage.py @@ -36,7 +36,9 @@ class OTPTimeStageView(FormView, StageView): qr_code = QRCode(image_factory=SvgFillImage) qr_code.add_data(device.config_url) svg_image = tostring(qr_code.make_image().get_image()) - sr_wrapper = f'
{% if not state %} {% if stage.configure_flow %} - {% trans "Enable Time-based OTP" %} + {% trans "Enable Time-based OTP" %} {% endif %} {% else %} {% trans "Disable Time-based OTP" %}