From 22d03c3a44345429f84b2e7ba700d7ebaa7c54e1 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Thu, 26 Sep 2024 18:15:46 +0200 Subject: [PATCH] fix: return location after downloading --- imgsync/distros/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/imgsync/distros/base.py b/imgsync/distros/base.py index dcb0658..37ad301 100644 --- a/imgsync/distros/base.py +++ b/imgsync/distros/base.py @@ -91,6 +91,7 @@ def _download_one(self, url, checksum): location.flush() self.verify_checksum(location, url, checksum, url) + return location def verify_checksum(self, location, name, checksum, url): """Verify the image's checksum."""