From cbb722d09b986cee7272db166010d44f0aeecb96 Mon Sep 17 00:00:00 2001 From: sawakita Date: Mon, 1 Oct 2012 18:41:16 +0200 Subject: Fix pokered_dir extrapolation Without "os.path.abspath" the result was an empty string. Now the absolute path is correctly calculated. --- extras/pokered_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/pokered_dir.py b/extras/pokered_dir.py index bfc02888..69137839 100644 --- a/extras/pokered_dir.py +++ b/extras/pokered_dir.py @@ -1,4 +1,4 @@ import os #main dir of repo (simply one level up than here) -pokered_dir = os.path.dirname(os.path.dirname(__file__)) +pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -- cgit v1.2.3