diff --git a/cozy/ui/preferences_window.py b/cozy/ui/preferences_window.py index 19239a6e..3798e39f 100644 --- a/cozy/ui/preferences_window.py +++ b/cozy/ui/preferences_window.py @@ -39,8 +39,8 @@ def __init__(self) -> None: self._bind_settings() def _bind_settings(self) -> None: - bind_settings = lambda setting, widget, propetry: self._glib_settings.bind( - setting, widget, propetry, Gio.SettingsBindFlags.DEFAULT + bind_settings = lambda setting, widget, property: self._glib_settings.bind( + setting, widget, property, Gio.SettingsBindFlags.DEFAULT ) bind_settings("swap-author-reader", self.swap_author_reader_switch, "active") diff --git a/test/cozy/extensions/test_set.py b/test/cozy/extensions/test_set.py index bf6b3033..3acd5e05 100644 --- a/test/cozy/extensions/test_set.py +++ b/test/cozy/extensions/test_set.py @@ -2,7 +2,7 @@ def test_split_strings_does_nothing_for_non_seperated_element(): - test = "This is a nice test. Nothing should be splitted." + test = "This is a nice test. Nothing should be split." result = split_strings_to_set({test}) assert {test} == result