debian 12: add missing views to views.py in websitefunctions

This commit is contained in:
usmannasir
2025-09-19 15:20:17 +05:00
parent 5da6200d7c
commit c2c41fe25c
2 changed files with 1 additions and 24 deletions

View File

@@ -124,7 +124,7 @@ class ContainerManager(multi.Thread):
portDef = item.split('/')
portConfig[portDef[0]] = portDef[1]
if image is None or image is '' or tag is None or tag is '':
if image is None or image == '' or tag is None or tag == '':
return redirect(reverse('containerImage'))
Data = {"ownerList": adminNames, "image": image, "name": name, "tag": tag, "portConfig": portConfig,