example bug fix

This commit is contained in:
long2ice
2021-05-05 23:24:32 +08:00
parent e17d6a38c6
commit e92823de83

View File

@ -122,7 +122,7 @@ class ConfigResource(Model):
def row_attributes(self, obj: dict) -> dict:
if obj.get("status") == enums.Status.on:
return {"class": "bg-green text-white"}
return super(ConfigResource, self).row_attributes(obj)
return super().row_attributes(obj)
@app.register