Skip to content

Commit

Permalink
Some cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bontchev committed Jul 29, 2019
1 parent aff9cfc commit 372029a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions pcodedmp/pcodedmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@
import os
import sys
import argparse
import platform
import itertools
from struct import unpack_from
from oletools.olevba import VBA_Parser, decompress_stream
from oletools.common import codepages

try:
import win_unicode_console
WIN_UNICODE_CONSOLE = True
except ImportError:
WIN_UNICODE_CONSOLE = False
from struct import unpack_from
from oletools.olevba import VBA_Parser, decompress_stream
from oletools.common import codepages

PYTHON2 = sys.version_info[0] < 3
codec = 'latin1' # Assume 'latin1' unless redefined by the 'dir' stream
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def read_md(f): return open(f, 'r').read()
]
INSTALL_REQUIRES = [
'oletools>=0.54',
'win_unicode_console; platform_system == "Windows" and platform_python_implementation != "PyPy"',
'win_unicode_console; platform_system=="Windows" and platform_python_implementation!="PyPy"',
]

###################################################################
Expand Down

0 comments on commit 372029a

Please sign in to comment.