Allow flask 2 for webservice (#816)

* Allow flask 2 for webservice.

The breaking changes do not appear to affect it.

* Add shebang to webservice script.
This commit is contained in:
Elliott Sales de Andrade
2021-08-04 02:49:13 -07:00
committed by GitHub
parent b923612323
commit 969e54f0e3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# webservice.py wrapper for OCRmyPDF
# Copyright (C) 2019 James R. Barlow: github.com/jbarlow83
#
@@ -36,7 +37,6 @@ from flask import (
redirect,
request,
send_from_directory,
url_for,
)
from werkzeug.utils import secure_filename
+1 -1
View File
@@ -86,7 +86,7 @@ extended_test =
watcher =
watchdog >= 1.0.2, < 3
webservice =
Flask >= 1, < 2
Flask >= 1, < 3
[options.entry_points]
console_scripts =