mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2024-12-22 19:45:41 +00:00
Fix using the wrong logger
This commit is contained in:
parent
1945b5145c
commit
226527c128
|
@ -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