shithub: pokered

Download patch

ref: cbb722d09b986cee7272db166010d44f0aeecb96
parent: c61f7eb5eee66a8ef998d9343cd7ec55c2f12e43
author: sawakita <sawakitanoodles@gmail.com>
date: Mon Oct 1 14:41:16 EDT 2012

Fix pokered_dir extrapolation

Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.

--- 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__)))