1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from os.path import abspath, join
6 from django.conf import settings
9 WAITER_ROOT = abspath(settings.WAITER_ROOT)
10 except AttributeError:
11 WAITER_ROOT = abspath(join(settings.MEDIA_ROOT, 'waiter'))
14 WAITER_URL = settings.WAITER_URL
15 except AttributeError:
16 WAITER_URL = join(settings.MEDIA_URL, 'waiter')
19 WAITER_MAX_QUEUE = settings.WAITER_MAX_QUEUE
20 except AttributeError: