X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/56511fcfdd20abcaf54827a90125c527d154125b..1405761d13e0ba62db4b1f9a9d5fa1472142b6d0:/apps/waiter/settings.py 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