svg2rlg-issue-7.patch 473 B

1234567891011121314151617
  1. commit c30b4f90cac69934761e44bf59a8ba8a3827d647
  2. Author: yac <yac@blesmrt.net>
  3. Date: Wed May 8 05:44:00 2013 +0200
  4. fix #7
  5. diff --git a/svg2rlg.py b/svg2rlg.py
  6. index cc812b2..80d72de 100644
  7. --- a/svg2rlg.py
  8. +++ b/svg2rlg.py
  9. @@ -1573,4 +1573,4 @@ def main():
  10. name, ext = os.path.splitext(filename)
  11. drawing = svg2rlg(source)
  12. - drawing.save(formats=['pdf'],outDir='.',fnRoot=name)
  13. + drawing.save(formats=['pdf'],outDir=os.getcwd(),fnRoot=name)