From eaa7257b257043a2abce0f7c224a2b5f9da8e822 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Thu, 23 Sep 2021 17:28:22 -0700 Subject: [PATCH] Blocks have been removed --- src/web/web.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/web/web.py b/src/web/web.py index c2dec75e..409703e4 100644 --- a/src/web/web.py +++ b/src/web/web.py @@ -138,7 +138,6 @@ def drive_create(): vendor = request.form.get("vendor") product = request.form.get("product") revision = request.form.get("revision") - blocks = request.form.get("blocks") block_size = request.form.get("block_size") size = request.form.get("size") file_type = request.form.get("file_type") @@ -157,8 +156,8 @@ def drive_create(): # Creating the drive properties file from pathlib import Path file_name = str(Path(file_name).stem) + "." + PROPERTIES_SUFFIX - properties = {"vendor": vendor, "product": product, "revision": revision, \ - "blocks": blocks, "block_size": block_size} + properties = {"vendor": vendor, "product": product, \ + "revision": revision, "block_size": block_size} process = write_drive_properties(file_name, properties) if process["status"] == True: flash(f"Drive properties file {file_name} created")