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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user