fix get_store_hashes()

This commit is contained in:
Charlotte 🦝 Delenk 2022-05-02 09:31:27 +01:00
parent 9f63fe3da8
commit 4febcff649
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -135,7 +135,7 @@ def delete_object(key: str) -> None:
def get_store_hashes() -> set[str]:
hashes = set()
for obj in os.listdir("/nix/store"):
for obj in listdir("/nix/store"):
hashes.add(obj.split("-")[0])
async def main() -> None: