Skip to content

Conversation

@Lucas-C
Copy link

@Lucas-C Lucas-C commented Sep 12, 2019

Without this fix, one needs to always pass absolute path to the cairosvg command.

There are probably other ways to fix this, maybe by calling os.path.abspath in cairosvg.parser.Tree.__init__

Quick test:

CAIROSVG_TEST_FILES=struct-image-01-t.svg pytest test_non_regression/test_non_regression.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant