ctfs / write-ups-2015

Wiki-like CTF write-ups repository, maintained by the community. 2015
1.98k stars 721 forks source link

Update png fixer script for python3 compatibility #733

Open onur-g opened 4 years ago

onur-g commented 4 years ago

Fixed print statements and used encode(‘ascii’) for ASCII encoding to avoid relying on no longer implicit conversion between unicode (str) type and bytes objects (or decode to get a string) which inhibits use of unicode str objects as arguments in functions that demand byte type or concatenation in such cases