Format code with black and autopep8 (#521)

This commit is contained in:
0xMRTT 2022-09-27 00:12:07 +02:00 committed by GitHub
commit 2c7c6f3d86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,8 @@ class GradiencePresetWindow(Adw.Window):
for widget in self.search_results_list:
widget.props.visible = False
if not (
self.search_dropdown.props.selected_item.get_string().lower() in "all"
self.search_dropdown.props.selected_item.get_string().lower()
in "all"
):
if (
self.search_dropdown.props.selected_item.get_string().lower()