Explorar el Código

Update restapi.py

Capitalization fixed
pull/93/head
flo269 GitHub hace 8 años
padre
commit
532431a278
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      modules/recipe_import/restapi.py

+ 1
- 1
modules/recipe_import/restapi.py Ver fichero

@@ -49,7 +49,7 @@ class RESTImport(FlaskView):
self.api.emit("UPDATE_ALL_STEPS", Step.get_all())
self.api.notify(headline="Recipe %s loaded successfully" % name, message="")
except Exception as e:
self.api.notify(headline="Failed to load Recipe", type="danger", message=str(e))
self.api.notify(headline="Failed to load recipe", type="danger", message=str(e))
m = str(e.message)
return (str(e), 500)



Cargando…
Cancelar
Guardar