[pricelist] fix some merge issues
This commit is contained in:
parent
b2d8431697
commit
bcf1941a81
|
@ -252,6 +252,5 @@ def set_picture(identifier):
|
||||||
def _get_picture(identifier):
|
def _get_picture(identifier):
|
||||||
if request.method == "GET":
|
if request.method == "GET":
|
||||||
size = request.args.get("size")
|
size = request.args.get("size")
|
||||||
path = PriceListPlugin.plugin["path"]
|
|
||||||
response = pricelist_controller.get_drink_picture(identifier, size)
|
response = pricelist_controller.get_drink_picture(identifier, size)
|
||||||
return response.make_conditional(request)
|
return response.make_conditional(request)
|
|
@ -5,7 +5,7 @@ from uuid import uuid4
|
||||||
from flaschengeist import logger
|
from flaschengeist import logger
|
||||||
from flaschengeist.config import config
|
from flaschengeist.config import config
|
||||||
from flaschengeist.database import db
|
from flaschengeist.database import db
|
||||||
from flaschengeist.utils.picture import save_picture, get_picture
|
from flaschengeist.utils.picture import save_picture, get_picture, delete_picture
|
||||||
|
|
||||||
from .models import Drink, DrinkPrice, Ingredient, Tag, DrinkType, DrinkPriceVolume, DrinkIngredient, ExtraIngredient
|
from .models import Drink, DrinkPrice, Ingredient, Tag, DrinkType, DrinkPriceVolume, DrinkIngredient, ExtraIngredient
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue