diff hgwebsite.wsgi @ 401:4d4c4b73808e

Use absolute paths
author David Soria Parra <dsp@php.net>
date Sat, 08 Mar 2014 02:03:33 +0000
parents 20cfd68e9c49
children
line wrap: on
line diff
--- a/hgwebsite.wsgi	Fri Mar 07 16:08:01 2014 -0800
+++ b/hgwebsite.wsgi	Sat Mar 08 02:03:33 2014 +0000
@@ -1,1 +1,3 @@
+import sys, os
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
 from hgwebsite import app as application