Update linedraw.py

This commit is contained in:
OnRaptor 2020-02-19 04:16:11 +08:00 committed by GitHub
parent c94b041fd1
commit 95a64461b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,9 @@ def sketch(path):
try:
IM = Image.open(p)
break
except:
except FileNotFoundError:
print("The Input File wasn't found. Check Path")
exit(0)
pass
w,h = IM.size