From 790aea8d0b6176f966dd537e705603df232cffb9 Mon Sep 17 00:00:00 2001 From: Jesus Alvarado Date: Thu, 25 Nov 2021 12:59:31 -0600 Subject: [PATCH 1/3] addd debug line --- handlers/apiBaseHandler.py | 2 +- oauthApi.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/apiBaseHandler.py b/handlers/apiBaseHandler.py index d13e91c..7249f5d 100644 --- a/handlers/apiBaseHandler.py +++ b/handlers/apiBaseHandler.py @@ -39,4 +39,4 @@ def options(self, *args, **kwargs): #raise HTTPError(**status_0) def write_json(self, data, status_code=200): - self.finish(json.dumps(data)) \ No newline at end of file + self.finish(json.dumps(data)) diff --git a/oauthApi.py b/oauthApi.py index 243d6c9..e0cbafc 100644 --- a/oauthApi.py +++ b/oauthApi.py @@ -38,6 +38,7 @@ # Load Logging definition logging.basicConfig(level=logging.INFO) +logging.getLogger('googleapiclient.discovery').setLevel(logging.CRITICAL) logger = logging.getLogger('tornado-info') # SMTP VARIABLES From 9ac6dce46f683e470e375054b62903f99ae0e6b4 Mon Sep 17 00:00:00 2001 From: Jesus Alvarado Date: Thu, 25 Nov 2021 13:02:16 -0600 Subject: [PATCH 2/3] add runtime file --- runtime.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 runtime.txt diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..6aaad49 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.6.15 From ee8ac720e1f3286491dd3fb110749cf30c446282 Mon Sep 17 00:00:00 2001 From: Jesus Alvarado Date: Thu, 25 Nov 2021 13:04:38 -0600 Subject: [PATCH 3/3] update markup safe --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5c88e20..babc156 100644 --- a/requirements.txt +++ b/requirements.txt @@ -33,7 +33,7 @@ requests-toolbelt==0.8.0 tornado==5.0.2 Werkzeug==0.15.3 urllib3>=1.24.2 -Flask-SSLify==0.1.5 +Flask-SSLify==0.1.5 #pdf_context PyMuPDF==1.14.20 @@ -42,7 +42,7 @@ PyMuPDF==1.14.20 certifi==2018.4.16 cryptography==2.3.1 itsdangerous==0.24 -MarkupSafe==1.0 +MarkupSafe==2.0.1 passlib==1.7.1 PyJWT==1.6.4 rsa==4.0 @@ -61,4 +61,4 @@ boto3==1.9.104 #github oauth oauth2client==4.1.3 -oauthlib==2.1.0 \ No newline at end of file +oauthlib==2.1.0