summaryrefslogtreecommitdiff
blob: 8145f416f80434901917abed40b153e557348ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
commit c30b4f90cac69934761e44bf59a8ba8a3827d647
Author: yac <yac@blesmrt.net>
Date:   Wed May 8 05:44:00 2013 +0200

    fix #7

diff --git a/svg2rlg.py b/svg2rlg.py
index cc812b2..80d72de 100644
--- a/svg2rlg.py
+++ b/svg2rlg.py
@@ -1573,4 +1573,4 @@ def main():
     name, ext = os.path.splitext(filename)
         
     drawing = svg2rlg(source)
-    drawing.save(formats=['pdf'],outDir='.',fnRoot=name)
+    drawing.save(formats=['pdf'],outDir=os.getcwd(),fnRoot=name)