Skip to content

Commit 52c81fd

Browse files
Fixed Lint issue
1 parent 0bb875b commit 52c81fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ascii_image/ascii_image.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
img = Image.open(inputImagePath)
2727

2828
wid, height = img.size
29-
img = img.resize((widd, int(widd*((height*9)/(wid*20)))))
29+
img = img.resize((widd, int(widd * ((height * 9) / (wid * 20)))))
3030
wid, height = img.size
3131

3232
img = img.convert("L")
@@ -42,8 +42,8 @@ def avg(imggg):
4242
for j in range(height):
4343
for i in range(wid):
4444
img1 = img.crop((i, int(j), i + 1, int((j + 1))))
45-
f.write(asci[int((avg(img1) * 9)/255)])
46-
print(asci[int((avg(img1) * 9)/255)], end="")
45+
f.write(asci[int((avg(img1) * 9) / 255)])
46+
print(asci[int((avg(img1) * 9) / 255)], end="")
4747
print("\n", end="")
4848
f.write("\n")
4949

0 commit comments

Comments
 (0)