From f18f98901157c037130e443cad5a3ebb0c95a77c Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 21 Feb 2024 10:31:10 +0100 Subject: views: unmatched ] in use getter to access PART_TYPE_CODES and FS_CODES --- ogcp/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogcp/views.py b/ogcp/views.py index 1ce6749..96ca852 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -1715,7 +1715,7 @@ def action_image_create(): form.os.choices.append( (f"{part.get('disk')} {part.get('partition')} {part.get('code')}", f"Disk {part.get('disk')} | Partition {part.get('partition')} " - f"| {PART_TYPE_CODES.get(part.get('code'), 'UNKNOWN')]} " + f"| {PART_TYPE_CODES.get(part.get('code'), 'UNKNOWN')} " f"{FS_CODES.get(part.get('filesystem'), 'UNKNOWN')}") ) r = server.get('/client/info', payload={'client': list(ips)}) @@ -1822,7 +1822,7 @@ def action_image_update(): form.os.choices.append( (f"{part.get('disk')} {part.get('partition')} {part.get('code')}", f"Disk {part.get('disk')} | Partition {part.get('partition')} " - f"| {PART_TYPE_CODES.get(part.get('code'), 'UNKNOWN')]} " + f"| {PART_TYPE_CODES.get(part.get('code'), 'UNKNOWN')} " f"{FS_CODES.get(part.get('filesystem'), 'UNKNOWN')}") ) -- cgit v1.2.3-18-g5258