diff options
Diffstat (limited to 'ogcp/views.py')
-rw-r--r-- | ogcp/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index c756ac9..431e9c1 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -671,7 +671,7 @@ def action_setup_modify(): 'code': str(partition.part_type.data), 'filesystem': str(partition.fs.data), 'size': str(partition.size.data * 1024), - 'format': str(int(partition.format_partition.data))} + 'format': '1'} payload['partition_setup'].append(partition_setup) if partition.part_type.data == 'CACHE': @@ -684,7 +684,7 @@ def action_setup_modify(): 'code': 'EMPTY', 'filesystem': 'EMPTY', 'size': '0', - 'format': '0', + 'format': '1', } payload['partition_setup'].append(empty_part) |