Skip to content

Commit

Permalink
Merge pull request #284 from transifex/TX-12338-client-should-upload-…
Browse files Browse the repository at this point in the history
…via-symlinks

Fix the symlink push issue
  • Loading branch information
candrikos committed Mar 12, 2020
2 parents c1ee466 + 5fe2d6e commit 9eb99a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion txclib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,9 @@ def get_project_files(curpath, expression):
continue

for file_path in files:
path_to_match = os.path.join(root, file_path)
full_path = os.path.realpath(os.path.join(root, file_path))
match = expression_regex.match(posix_path(full_path))
match = expression_regex.match(posix_path(path_to_match))
if match:
try:
lang = match.group(1)
Expand Down

0 comments on commit 9eb99a6

Please sign in to comment.