remove unnecessary code block that appends CWD to filenames not involving directories
parent
5aeb6e3bf7
commit
07771be9bf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue