mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-05 02:50:58 +00:00
Remove debug statement
This commit is contained in:
@@ -794,8 +794,7 @@ class ContentTypeField(serializers.ChoiceField):
|
|||||||
if content_types.exists() and content_types.count() == 1:
|
if content_types.exists() and content_types.count() == 1:
|
||||||
content_type = content_types.first()
|
content_type = content_types.first()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception:
|
||||||
print('e:', e)
|
|
||||||
raise ValidationError(_('Invalid content type format'))
|
raise ValidationError(_('Invalid content type format'))
|
||||||
|
|
||||||
if content_type is None:
|
if content_type is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user