Fix using the wrong logger
This commit is contained in:
parent
1945b5145c
commit
226527c128
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import argparse
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from ryujinx_mako import commands
|
from ryujinx_mako import commands
|
||||||
from ryujinx_mako._const import SCRIPT_NAME, NAME
|
from ryujinx_mako._const import SCRIPT_NAME
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog=SCRIPT_NAME,
|
prog=SCRIPT_NAME,
|
||||||
|
@ -26,7 +26,7 @@ for subcommand in commands.SUBCOMMANDS:
|
||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
logger = logging.getLogger(NAME)
|
logger = logging.getLogger(SCRIPT_NAME)
|
||||||
logger.addHandler(logging.StreamHandler())
|
logger.addHandler(logging.StreamHandler())
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue