[clean] PEP8 cleanup
This commit is contained in:
parent
9b935541b0
commit
7cac708309
|
@ -15,7 +15,6 @@ from . import event_controller, permissions, EventPlugin
|
|||
from ...utils.HTTP import no_content
|
||||
|
||||
|
||||
|
||||
def dict_get(self, key, default=None, type=None):
|
||||
"""Same as .get from MultiDict"""
|
||||
try:
|
||||
|
@ -510,4 +509,5 @@ def lock_job(job_id, current_session: Session):
|
|||
raise BadRequest
|
||||
return no_content()
|
||||
|
||||
|
||||
# TODO: JobTransfer
|
||||
|
|
|
@ -738,7 +738,7 @@ def set_picture(identifier, current_session):
|
|||
|
||||
|
||||
@PriceListPlugin.blueprint.route("/drinks/<int:identifier>/picture", methods=["GET"])
|
||||
#@headers({"Cache-Control": "private, must-revalidate"})
|
||||
# @headers({"Cache-Control": "private, must-revalidate"})
|
||||
def _get_picture(identifier):
|
||||
"""Get Picture
|
||||
|
||||
|
|
Loading…
Reference in New Issue