don't throw error on empty path

https://forums.ankiweb.net/t/anki-2-1-28-error-message-when-reviewing-cards/1439
This commit is contained in:
Damien Elmes 2020-07-27 11:28:32 +10:00
parent 15c9cd9108
commit f45627dbd3

View file

@ -87,7 +87,6 @@ class MediaServer(threading.Thread):
return int(self.server.effective_port)
@app.route("/", defaults={"path": ""})
@app.route("/<path:pathin>", methods=["GET", "POST"])
def allroutes(pathin):
try: