mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-26 13:49:21 +00:00
Blocks have been removed
This commit is contained in:
parent
7b8a5f6c76
commit
eaa7257b25
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user