Closed jmigreen closed 5 years ago
LGTM.
I did a quick test of sys.path[0], to check that it behaves as we expect...
# test.py
import sys
print(sys.path[0])
I ran this from current directory and also the parent directory, and the correct path is printed. So this seems a safe change to accept.
Makes the registry path dynamic so scripts can reference it from any working directory.