Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Jul 23, 2024
1 parent b817e31 commit 03bc0b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gmail-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit 03bc0b6

Please sign in to comment.