mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-12 11:50:28 +00:00
Remove debug statement
This commit is contained in:
1 parent
61edb2ba8e
commit
539add7105
1 file changed
+1
-2
@@ -794,8 +794,7 @@ class ContentTypeField(serializers.ChoiceField):
|
||||
if content_types.exists() and content_types.count() == 1:
|
||||
content_type = content_types.first()
|
||||
|
||||
except Exception as e:
|
||||
print('e:', e)
|
||||
except Exception:
|
||||
raise ValidationError(_('Invalid content type format'))
|
||||
|
||||
if content_type is None:
|
||||
|
||||
Reference in new issue
Block a user