Skip to content

Commit

Permalink
Merge pull request #7 from digitaldomain/feature-windows_support
Browse files Browse the repository at this point in the history
Fixing a logic error on the path output code
  • Loading branch information
Ahuge authored May 3, 2018
2 parents 179add4 + ef9deaf commit 3482d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/qt_py_convert/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def process_file(fp, write_mode=None, path=None, backup=False, skip_lineno=False
if write_mode & WriteFlag.WRITE_TO_STDOUT:
sys.stdout.write(modified_code)
else:
if path: # We are writing elsewhere than the source.
if path and path[0]: # We are writing elsewhere than the source.
src_root, dst_root = path
root_relative = fp.replace(src_root, "").lstrip("/")
write_path = os.path.join(dst_root, root_relative)
Expand Down

0 comments on commit 3482d87

Please sign in to comment.