Use the correct type for GErrors

This commit is contained in:
kramo
2023-12-17 00:25:01 +01:00
parent bcc3c57117
commit 7d0b9854d3
6 changed files with 14 additions and 14 deletions

View File

@@ -76,7 +76,7 @@ class FlatpakSourceIterable(SourceIterable):
name = keyfile.get_string("Desktop Entry", "Name")
except GLib.GError:
except GLib.Error:
continue
values = {
@@ -106,7 +106,7 @@ class FlatpakSourceIterable(SourceIterable):
additional_data = {"local_icon_path": Path(icon_path)}
else:
pass
except GLib.GError:
except GLib.Error:
pass
yield (game, additional_data)