fix elif after return

This commit is contained in:
collerek
2020-09-30 11:57:25 +02:00
parent f4a45381b0
commit b7b23ae780

View File

@ -35,7 +35,7 @@ class UUID(TypeDecorator): # pragma nocover
) -> Optional[str]:
if value is None:
return value
elif not isinstance(value, uuid.UUID):
if not isinstance(value, uuid.UUID):
value = self._cast_to_uuid(value)
return "%.32x" % value.int