File svg2rlg-issue-7.patch of Package python-svg2rlg

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)
openSUSE Build Service is sponsored by