Browse files

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

  • Loading branch information...
1 parent 6c13fbb commit 876569a27dd9224f6d274d4edce66862bf4a4f05 @tomeuv tomeuv committed Mar 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 giscanner/mallardwriter.py
View
2 giscanner/mallardwriter.py
@@ -246,7 +246,7 @@ def _render_node(self, node, output):
page_id=page_id,
formatter=self._formatter)
- output_file_name = os.path.join(os.path.dirname(output),
+ output_file_name = os.path.join(os.path.abspath(output),
page_id + '.page')
fp = open(output_file_name, 'w')
fp.write(result)

0 comments on commit 876569a

Please sign in to comment.