From 3538f1a62969b081e29a12bbf52242210e9a9f2d Mon Sep 17 00:00:00 2001 From: Curtis Castrapel Date: Thu, 12 Apr 2018 08:58:04 -0700 Subject: [PATCH] fix_errors --- lemur/common/schema.py | 2 +- lemur/migrations/alembic.ini | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lemur/common/schema.py b/lemur/common/schema.py index 940f267c..51e257c7 100644 --- a/lemur/common/schema.py +++ b/lemur/common/schema.py @@ -148,7 +148,7 @@ def validate_schema(input_schema, output_schema): request_data = request.get_json() else: request_data = request.args - print(data) + data, errors = input_schema.load(request_data) if errors: diff --git a/lemur/migrations/alembic.ini b/lemur/migrations/alembic.ini index 6c3428e7..b2e42cfa 100644 --- a/lemur/migrations/alembic.ini +++ b/lemur/migrations/alembic.ini @@ -8,7 +8,6 @@ # the 'revision' command, regardless of autogenerate # revision_environment = false -script_location = . # Logging configuration [loggers] keys = root,sqlalchemy,alembic