python 3.7 fix

This commit is contained in:
Jakub Miazek 2022-04-23 13:02:53 +02:00
parent 0cf377cffc
commit d1b1649592

View File

@ -32,7 +32,7 @@ class Stuff(Base):
if instance is None:
raise HTTPException(
status_code=status.HTTP_404_NOT_FOUND,
detail={"Not found": f"There is no record for requested: {name=}"},
detail={"Not found": f"There is no record for name: {name}"},
)
else:
return instance