diff options
author | Florian Bruhin <git@the-compiler.org> | 2014-09-22 20:41:12 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2014-09-22 20:41:12 +0200 |
commit | 8095de6c59348c349de473cd01ff0d5199f3e26c (patch) | |
tree | 94bab2a4520642269b379222d365d4ce4f112973 /scripts/setupcommon.py | |
parent | bd11913a4ae377ebc399fca6a1af4d40e2ca82bc (diff) | |
download | qutebrowser-8095de6c59348c349de473cd01ff0d5199f3e26c.tar.gz qutebrowser-8095de6c59348c349de473cd01ff0d5199f3e26c.zip |
Get rid of the getcwd hack in scripts.
Diffstat (limited to 'scripts/setupcommon.py')
-rw-r--r-- | scripts/setupcommon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setupcommon.py b/scripts/setupcommon.py index 204437a99..a640f6f5a 100644 --- a/scripts/setupcommon.py +++ b/scripts/setupcommon.py @@ -26,7 +26,7 @@ import ast import os import os.path import subprocess -sys.path.insert(0, os.getcwd()) +sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir)) BASEDIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), |