Skip to content

Commit

Permalink
fix[log]remove pyi-log
Browse files Browse the repository at this point in the history
  • Loading branch information
serfend committed Nov 10, 2023
1 parent b8f8ce2 commit 111d8a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pydumpck/pyinstaller_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
import pydumpck.utils.paths
import time

import logging
cur_handlers = logging.root.handlers
if cur_handlers:
logging.root.removeHandler(cur_handlers[0])


def run():
parser = argparse.ArgumentParser(description=__version__.__description__)
Expand Down Expand Up @@ -73,7 +78,7 @@ def run():
dest='struct_headers',
help='specify pyc header hex-string (default: %(default)s).if not set , pydumpck will use struct.pyc\'s header(if possible) and default header.eg:6f0d0d0a 00000000 00000000 ffffffff',
)

parser.add_argument(
'-v',
'--version',
Expand Down

0 comments on commit 111d8a6

Please sign in to comment.