From 03bc0b6238893ab51bc147b48dd28d46970d7b8e Mon Sep 17 00:00:00 2001 From: jamesread Date: Tue, 23 Jul 2024 17:35:46 +0100 Subject: [PATCH] fix lint issues --- gmail-exporter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gmail-exporter.py b/gmail-exporter.py index 9b79293..8faf570 100755 --- a/gmail-exporter.py +++ b/gmail-exporter.py @@ -15,7 +15,7 @@ from prometheus_client import make_wsgi_app, Gauge -from flask import Flask, Response, redirect, url_for, request, session +from flask import Flask, Response, request, session from werkzeug.middleware.dispatcher import DispatcherMiddleware @@ -62,8 +62,8 @@ def get_credentials(): if os.path.exists(args.credentialsPath): logging.info("Loading credentials from %s", args.credentialsPath) credentials = Credentials.from_authorized_user_file(args.credentialsPath, SCOPES) - - return credential + + return credentials @lru_cache(maxsize=1) def get_labels():