Fix me being stupid on my phone
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
ignore=importers
|
ignore=importers
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
|
||||||
|
|
||||||
|
[MESSAGES CONTROL]
|
||||||
|
|
||||||
disable=raw-checker-failed,
|
disable=raw-checker-failed,
|
||||||
bad-inline-option,
|
bad-inline-option,
|
||||||
|
|||||||
@@ -54,10 +54,14 @@ class FlatpakSourceIterable(SourceIterable):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
if not source.locations:
|
generators = set(
|
||||||
return # TODO: I'm doing this on my phone, I don't even know why this is here lol
|
location.iterdir()
|
||||||
|
for location in (
|
||||||
generators = set(location.iterdir() for location in (self.source.locations.user_data["applications"], self.source.locations.system_data["applications"]) if location)
|
self.source.locations.user_data["applications"],
|
||||||
|
self.source.locations.system_data["applications"],
|
||||||
|
)
|
||||||
|
if location
|
||||||
|
)
|
||||||
|
|
||||||
for entry in chain(*generators):
|
for entry in chain(*generators):
|
||||||
if entry.suffix != ".desktop":
|
if entry.suffix != ".desktop":
|
||||||
|
|||||||
Reference in New Issue
Block a user