From 7acc3bc9e6cb67d8241d11d6b67a81876a0a96a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 16 Nov 2011 19:15:09 +0100 Subject: [PATCH] add get_questions_path helper function --- tabellio/config/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tabellio/config/utils.py b/tabellio/config/utils.py index 619c251..1dd427b 100644 --- a/tabellio/config/utils.py +++ b/tabellio/config/utils.py @@ -10,6 +10,9 @@ from plone.memoize import ram def get_dossiers_path(): return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).dossiersPath +def get_questions_path(): + return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).questionsPath + def get_documents_path(): return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).documentsPath