Skip to content

Commit

Permalink
Updated path in worker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-aguiar committed Feb 12, 2025
1 parent bcad815 commit f720195
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/proxyV4/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def add_script_root_to_sys_path():


if __name__ == '__main__':
# worker.py lives in the same directory as proxy_worker
validate_python_version()
# worker.py lives in the same directory as azure_functions_worker

func_worker_dir = str(pathlib.Path(__file__).absolute())
validate_python_version()
func_worker_dir = str(pathlib.Path(__file__).absolute().parent)
env = os.environ

# Setting up python path for all environments to prioritize
Expand Down

0 comments on commit f720195

Please sign in to comment.