diff --git a/scripts/package_release.py b/scripts/package_release.py
index 1b33414c155aa7cafc6b1a4c2cc677b04bc8d116..daf8b2d30fa70bf77fce2869ecc5c6e2987e5780 100755
--- a/scripts/package_release.py
+++ b/scripts/package_release.py
@@ -31,7 +31,7 @@ def generate_md5sums_file(input_files: list[str], output_file: str):
         # Check if the item ends with "/"
         if item.endswith("/"):
             # If it does, recursively calculate MD5 sums for all files in the directory
-            for root, files in os.walk(item):
+            for root, _, files in os.walk(item):
                 for file in files:
                     file_path = os.path.join(root, file)
                     md5sums[os.path.relpath(file_path, item)] = md5(file_path)