diff options
Diffstat (limited to 'source4/scripting/bin/winreg.py')
-rwxr-xr-x | source4/scripting/bin/winreg.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/bin/winreg.py b/source4/scripting/bin/winreg.py index 1e39ee8f78..19d39e56ab 100755 --- a/source4/scripting/bin/winreg.py +++ b/source4/scripting/bin/winreg.py @@ -7,6 +7,10 @@ # import sys + +# Find right directory when running from source tree +sys.path.insert(0, "bin/python") + import winreg import optparse import samba.getopt as options |