1.1 --- a/tools/set_quota_limit.py Thu Apr 21 00:58:18 2016 +0200
1.2 +++ b/tools/set_quota_limit.py Thu Apr 21 16:34:27 2016 +0200
1.3 @@ -19,7 +19,7 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 -from os.path import split
1.8 +from os.path import abspath, split
1.9 import sys
1.10
1.11 # Find the modules.
1.12 @@ -27,7 +27,7 @@
1.13 try:
1.14 import imiptools
1.15 except ImportError:
1.16 - parent = split(split(__file__)[0])[0]
1.17 + parent = abspath(split(split(__file__)[0])[0])
1.18 if split(parent)[1] == "imip-agent":
1.19 sys.path.append(parent)
1.20