jessepeterson / margarita

Web frontend for reposado
The Unlicense
245 stars 40 forks source link

Update flask to version 1.1.x #65

Open sdhughes1 opened 4 years ago

sdhughes1 commented 4 years ago

I run margarita in Docker. When I build the container using the supplied requirements.txt, I get a 500 error when submitting changes or cloning branches in the web interface of margarita.

After turning on debug, the underlying error was AttributeError: 'Request' object has no attribute 'is_xhr'

It turns out a new version of Flask addressed this issue. Updating to the latest 1.1.x version of Flask fixed my issue and Margarita remains functional (and more up-to-date)

https://github.com/pallets/flask/issues/2549