Skip to content

Commit 4ff806f

Browse files
committed
Initial
1 parent 953f28a commit 4ff806f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PyInstaller
2-
hexdump
32
jstyleson
43
PyQt5
5-
simple_hexdump
64
websocket_client
5+
https://files.pythonhosted.org/packages/55/b3/279b1d57fa3681725d0db8820405cdcb4e62a9239c205e4ceac4391c78e4/hexdump-3.3.zip

utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ def normalize_path(path):
1111
return path.replace("\\", "/").replace("/", os.path.sep)
1212

1313
def hex_view(data):
14-
if platform.system() == "Windows": return hexdump(data, "return")
15-
else: return repr(hexdump(data))
14+
return hexdump(data, "return")
1615

1716
def get_default_font():
1817
if platform.system() == "Windows": return QFont("Courier New", 9)

0 commit comments

Comments
 (0)