[extensions-web] sweettooth.wsgi.example: Use absolute paths



commit bec4f8a1b1c6ad80ef207d1b49bfd646765f538e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Apr 2 12:18:07 2012 -0400

    sweettooth.wsgi.example: Use absolute paths

 etc/sweettooth.wsgi.example |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/etc/sweettooth.wsgi.example b/etc/sweettooth.wsgi.example
index a8174ea..513f92c 100644
--- a/etc/sweettooth.wsgi.example
+++ b/etc/sweettooth.wsgi.example
@@ -5,7 +5,7 @@ import sys
 
 os.environ['DJANGO_SETTINGS_MODULE'] = 'sweettooth.settings'
 
-_path = os.path.dirname(__file__)
+_path = os.path.dirname(os.path.realpath(__file__))
 
 _venv = os.path.join(_path, 'venv/lib/python2.7/site-packages/')
 if os.path.exists(_venv):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]