diff options
-rw-r--r-- | ranger/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index c7091a3e..25087ea5 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -23,6 +23,7 @@ def version_helper(): try: git_describe = subprocess.Popen(['git', 'describe'], universal_newlines=True, + cwd=RANGERDIR, stdout=subprocess.PIPE) (git_description, _) = git_describe.communicate() version_string = version_string.format(git_description.strip('\n')) |