diff --git a/__pycache__/utils.cpython-37.pyc b/__pycache__/utils.cpython-37.pyc new file mode 100644 index 0000000..7eadddb Binary files /dev/null and b/__pycache__/utils.cpython-37.pyc differ diff --git a/pack.py b/pack.py index c793cbe..5de6855 100644 --- a/pack.py +++ b/pack.py @@ -144,8 +144,8 @@ if (create): directive.create(name, size) - # if (erase): - # directive.erase_p(name) + if (erase and imageFile == 'NOT_SET'): + directive.erase_p(name) if (type == 'partitionImage'):