From 8cfb83916e0f24279e0ffc4a3fdc6dfc11ad83eb Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 7 Nov 2020 13:26:59 -0500 Subject: [PATCH] Lint: F821 undefined name 'API_Doc' Should have been commented out along with its class. --- api-daemon/pvcapid/flaskapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 17729a65..7aa98f15 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -248,8 +248,8 @@ api.add_resource(API_Root, '/') # swagger_data['host'] = "{}:{}".format(config['listen_address'], config['listen_port']) # return swagger_data # - -api.add_resource(API_Doc, '/doc') +# +# api.add_resource(API_Doc, '/doc') # /login class API_Login(Resource):