Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Sep 26, 2022
1 parent cea8cab commit 0b88d9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pe_reports/data/db_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def query_credsbyday_view(org_uid, start_date, end_date):
)
return df
except (Exception, psycopg2.DatabaseError) as error:
logging.error("There was a problem with your database query %s", error)
LOGGER.error("There was a problem with your database query %s", error)
finally:
if conn is not None:
close(conn)
Expand All @@ -117,7 +117,7 @@ def query_breachdetails_view(org_uid, start_date, end_date):
)
return df
except (Exception, psycopg2.DatabaseError) as error:
logging.error("There was a problem with your database query %s", error)
LOGGER.error("There was a problem with your database query %s", error)
finally:
if conn is not None:
close(conn)
Expand All @@ -141,7 +141,7 @@ def query_domMasq(org_uid, start_date, end_date):
)
return df
except (Exception, psycopg2.DatabaseError) as error:
logging.error("There was a problem with your database query %s", error)
LOGGER.error("There was a problem with your database query %s", error)
finally:
if conn is not None:
close(conn)
Expand Down

0 comments on commit 0b88d9e

Please sign in to comment.