Skip to content

Commit

Permalink
fix issue with filenames with no directory causing error
Browse files Browse the repository at this point in the history
  • Loading branch information
mathandy committed Nov 27, 2021
1 parent abd99f0 commit 5037fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os


VERSION = '1.4.3'
VERSION = '1.4.4'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = '[email protected]'
GITHUB = 'https://github.com/mathandy/svgpathtools'
Expand Down
2 changes: 1 addition & 1 deletion svgpathtools/paths2svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def disvg(paths=None, colors=None, filename=None, stroke_widths=None,
dirname = os_path.abspath(os_path.dirname(filename))
if not os_path.exists(dirname):
makedirs(dirname)

# append time stamp to filename
if timestamp:
fbname, fext = os_path.splitext(filename)
Expand Down

0 comments on commit 5037fac

Please sign in to comment.