Iterate dictionary directly

This commit is contained in:
deepsource-autofix[bot] 2022-09-07 15:59:10 +00:00 committed by GitHub
parent d2da78aeb3
commit 99270b1167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -307,7 +307,7 @@ class GradienceApplication(Adw.Application):
"scrollbar_outline_color": self.rgba_from_argb(light_theme.outline),
}
for key in variable.keys():
for key in variable:
if key in self.pref_variables:
self.pref_variables[key].update_value(variable[key])