Browse Source

Fix wrong logger name

pull/189/head
Louis 9 years ago
parent
commit
9de0f01243
  1. 2
      patacrep/songbook/__main__.py
  2. 2
      patacrep/tools/__main__.py

2
patacrep/songbook/__main__.py

@ -14,7 +14,7 @@ import patacrep.encoding
# Logging configuration
logging.basicConfig(level=logging.INFO)
LOGGER = logging.getLogger("patatools")
LOGGER = logging.getLogger()
# pylint: disable=too-few-public-methods
class ParseStepsAction(argparse.Action):

2
patacrep/tools/__main__.py

@ -14,7 +14,7 @@ import patacrep
# Logging configuration
logging.basicConfig(level=logging.INFO)
LOGGER = logging.getLogger()
LOGGER = logging.getLogger("patatools")
def _execlp(program, args):
"""Call :func:`os.execlp`, adding `program` as the first argument to itself."""

Loading…
Cancel
Save