From eb8bbc1d780d405e2cc105d057c9e5186510ba9f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 14 May 2012 11:25:03 +0200 Subject: [PATCH] fix for checking paths in waiter --- apps/waiter/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/waiter/settings.py b/apps/waiter/settings.py index fef4a7e49..08e88d34a 100644 --- a/apps/waiter/settings.py +++ b/apps/waiter/settings.py @@ -1,10 +1,10 @@ -from os.path import join +from os.path import abspath, join from django.conf import settings try: - WAITER_ROOT = settings.WAITER_ROOT + WAITER_ROOT = abspath(settings.WAITER_ROOT) except AttributeError: - WAITER_ROOT = join(settings.MEDIA_ROOT, 'waiter') + WAITER_ROOT = abspath(join(settings.MEDIA_ROOT, 'waiter')) try: WAITER_URL = settings.WAITER_URL -- 2.20.1