Skip to content

Commit

Permalink
Update linedraw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OnRaptor authored Feb 18, 2020
1 parent c94b041 commit 95a6446
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions linedraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -258,4 +260,4 @@ def makesvg(lines):
contour_simplify = args.contour_simplify
show_bitmap = args.show_bitmap
no_cv = args.no_cv
sketch(args.input_path)
sketch(args.input_path)

0 comments on commit 95a6446

Please sign in to comment.