Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pulpcore/app/serializers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ def to_internal_value(self, data):
try:
# Nested Serializers in from-urlencoded bodies are stringified as json by default.
data = json.loads(data)
except json.DecodeError:
except json.JSONDecodeError:
raise serializers.ValidationError(
"Invalid json data for (nested) downloader config."
)
Expand Down
Loading