Remove printing only the string.printable characters.

This commit is contained in:
voussoir 2021-06-07 18:45:19 -07:00
parent 1bbffb4964
commit d2f9da6031
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -25,7 +25,7 @@ def rejpg_argparse(args):
bytes_saved = 0
remaining_size = 0
for filename in files:
print(''.join(c for c in filename if c in string.printable))
print(filename)
bytesio = io.BytesIO()
image = PIL.Image.open(filename)