diff --git a/helpers/DATA/ubiquity/encrypt_by_default.patch b/helpers/DATA/ubiquity/encrypt_by_default.patch
index 470446983ed77fe62e494a7b3509310a3ce29138..f492f2b24872bf99f97416a11232b2acd8685ce1 100644
--- a/helpers/DATA/ubiquity/encrypt_by_default.patch
+++ b/helpers/DATA/ubiquity/encrypt_by_default.patch
@@ -5,7 +5,7 @@ diff -ru source.bak/ubiquity/plugins/ubi-partman.py source/ubiquity/plugins/ubi-
                  opt_desc.show()
                  opt_widget.set_label(options[option].title)
                  opt_desc.set_markup(fmt % options[option].desc)
-+                if name = "use_crypto":
++                if name == "use_crypto":
 +                    opt_widget.set_active(True)
                  if not ticked and opt_widget.get_sensitive():
                      opt_widget.set_active(True)