Remove printing only the string.printable characters.
This commit is contained in:
parent
1bbffb4964
commit
d2f9da6031
1 changed files with 1 additions and 1 deletions
2
rejpg.py
2
rejpg.py
|
@ -25,7 +25,7 @@ def rejpg_argparse(args):
|
||||||
bytes_saved = 0
|
bytes_saved = 0
|
||||||
remaining_size = 0
|
remaining_size = 0
|
||||||
for filename in files:
|
for filename in files:
|
||||||
print(''.join(c for c in filename if c in string.printable))
|
print(filename)
|
||||||
bytesio = io.BytesIO()
|
bytesio = io.BytesIO()
|
||||||
image = PIL.Image.open(filename)
|
image = PIL.Image.open(filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue