Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

g-ir-doc-tool: Fix -o option, use abspath instead of dirname

  • Loading branch information...
commit 876569a27dd9224f6d274d4edce66862bf4a4f05 1 parent 6c13fbb
Tomeu Vizoso tomeuv authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  giscanner/mallardwriter.py
2  giscanner/mallardwriter.py
@@ -246,7 +246,7 @@ def _render_node(self, node, output):
246 246 page_id=page_id,
247 247 formatter=self._formatter)
248 248
249   - output_file_name = os.path.join(os.path.dirname(output),
  249 + output_file_name = os.path.join(os.path.abspath(output),
250 250 page_id + '.page')
251 251 fp = open(output_file_name, 'w')
252 252 fp.write(result)

0 comments on commit 876569a

Please sign in to comment.
Something went wrong with that request. Please try again.