From 6d4eeaa2b7f4ef78fcfb8c695d226cbc73a5c652 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 6 Aug 2017 22:47:15 +0200 Subject: [PATCH] Update worker.py --- code/worker.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/worker.py b/code/worker.py index 1024e5f2..8ffca9ec 100644 --- a/code/worker.py +++ b/code/worker.py @@ -19,5 +19,6 @@ urllib.request.urlretrieve(firstline, filename) # Get the magic bytes f = open(filename) f.seek(8) -stringdata = f.read(3) -print(binascii.hexlify(stringdata)) +data = f.read(3) +for c in data: + print(c)