Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit af20b63

Browse files
authored
Format code with black and autopep8 (#490)
2 parents aa70de8 + db140ab commit af20b63

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

gradience/presets_manager_window.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,7 @@ def on_file_chooser_response(self, widget, response):
293293
Adw.Toast(title=_("Preset imported")))
294294
else:
295295
self.toast_overlay.add_toast(
296-
Adw.Toast(
297-
title=_("Unsupported file format, must be .json")
298-
)
296+
Adw.Toast(title=_("Unsupported file format, must be .json"))
299297
)
300298

301299
self.reload_pref_group()
@@ -384,9 +382,9 @@ def reload_pref_group(self):
384382
self.preset_list.set_title(_("User Presets"))
385383
self.preset_list.set_description(
386384
_(
387-
'See '\
388-
'<a href="https://github.com/GradienceTeam/Community">'\
389-
'GradienceTeam/Community</a> on Github for more presets'
385+
"See "
386+
'<a href="https://github.com/GradienceTeam/Community">'
387+
"GradienceTeam/Community</a> on Github for more presets"
390388
)
391389
)
392390

@@ -411,7 +409,7 @@ def reload_pref_group(self):
411409
self.preset_empty = Adw.ActionRow()
412410
self.preset_empty.set_title(
413411
_(
414-
"No preset found! Use the import button to import one or "\
412+
"No preset found! Use the import button to import one or "
415413
"search one on the Explore tab"
416414
)
417415
)

0 commit comments

Comments
 (0)