fix: 修复 json m2m field 中正则有问题匹配不正确

This commit is contained in:
ibuler
2023-07-20 14:46:56 +08:00
committed by Bryan
parent 19b91a6c1f
commit 08bc3d14aa
4 changed files with 18 additions and 12 deletions

View File

@@ -79,6 +79,7 @@ class DBPortManager(object):
for port, db_id in mapper.items():
if db_id == str(db.id):
return port
if raise_exception:
error = _(
'No available port is matched. '