Fix snapshot page not correctly seeing a lack of package data

This commit is contained in:
heliguy4599
2024-10-15 17:08:53 -04:00
parent 1418834498
commit a74796ba85

View File

@@ -219,7 +219,7 @@ class SnapshotPage(Adw.BreakpointBin):
data_path = f"{HostInfo.home}/.var/app"
data_exists = False
for package in HostInfo.flatpaks:
if package.info['id'] == "io.io.github.flattool.Warehouse":
if package.info['id'] == "io.github.flattool.Warehouse":
continue
if os.path.exists(package.data_path):