From 17daaf57018ff4d3f23594aace2d5b63f860f206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 29 Aug 2011 09:49:01 +0200 Subject: [PATCH] utility function to get deputies path --- tabellio/config/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabellio/config/utils.py b/tabellio/config/utils.py index 6a6d476..e1c013b 100644 --- a/tabellio/config/utils.py +++ b/tabellio/config/utils.py @@ -9,6 +9,8 @@ def get_dossiers_path(): def get_documents_path(): return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).documentsPath +def get_deputies_path(): + return component.getUtility(IRegistry).forInterface(ITabellioSettings, False).deputiesPath def get_sessions(): settings = component.getUtility(IRegistry).forInterface(ITabellioSettings, False)