Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #941 from pypeclub/2.x/photoshop_safer_loading_wor…
Browse files Browse the repository at this point in the history
…kfile

PS - safer handling of loading of workfile
  • Loading branch information
mkolar authored Feb 1, 2021
2 parents 533cc28 + 92c0581 commit 6707ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pype/hooks/photoshop/prelaunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def execute(self, *args, env: dict = None) -> bool:

workfile_path = self.get_workfile_plath(env, self.host_name)

# adding compulsory environment var for openting file
env["PYPE_WORKFILE_PATH"] = workfile_path
# adding compulsory environment var for opening file
env["PYPE_WORKFILE_PATH"] = workfile_path.replace('\\', '/')

return True

Expand Down

0 comments on commit 6707ed4

Please sign in to comment.