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
|
||||
|
||||
from ryujinx_mako import commands
|
||||
from ryujinx_mako._const import SCRIPT_NAME, NAME
|
||||
from ryujinx_mako._const import SCRIPT_NAME
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
prog=SCRIPT_NAME,
|
||||
|
@ -26,7 +26,7 @@ for subcommand in commands.SUBCOMMANDS:
|
|||
|
||||
|
||||
def run():
|
||||
logger = logging.getLogger(NAME)
|
||||
logger = logging.getLogger(SCRIPT_NAME)
|
||||
logger.addHandler(logging.StreamHandler())
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
|
|
Loading…
Reference in a new issue