remove unnecessary code block that appends CWD to filenames not involving directories

vectorize-path-point
Andrew Port 2020-12-01 20:02:35 -08:00
parent 5aeb6e3bf7
commit 07771be9bf
1 changed files with 0 additions and 4 deletions

View File

@ -214,10 +214,6 @@ def disvg(paths=None, colors=None, filename=None, stroke_widths=None,
timestamp = True if timestamp is None else timestamp
filename = os_path.join(gettempdir(), 'disvg_output.svg')
# append directory to filename (if not included)
if os_path.dirname(filename) == '':
filename = os_path.join(getcwd(), filename)
# append time stamp to filename
if timestamp:
fbname, fext = os_path.splitext(filename)