Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sHermanGriffiths committed Nov 9, 2024
1 parent 1d48612 commit 2439c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions n2y/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import os
import sys

from n2y import LOG_HANDLER
from n2y.blocks import LinkToPageBlock
from n2y.database import Database
from n2y.errors import UseNextClass
from n2y.logger import HANDLER
from n2y.mentions import PageMention
from n2y.notion import Client
from n2y.page import Page
Expand Down Expand Up @@ -76,7 +76,7 @@ def main(raw_args, access_token, logger=log):
logging_level = logging.__dict__[args.verbosity]
new_formatter = logging.Formatter(args.logging_format)
logger.setLevel(logging_level)
HANDLER.setFormatter(new_formatter)
LOG_HANDLER.setFormatter(new_formatter)

if access_token is None:
logger.critical("No NOTION_ACCESS_TOKEN environment variable is set")
Expand Down

0 comments on commit 2439c39

Please sign in to comment.