From a6f05629a55fb6240a260a7b5e4fef9efbc066ec Mon Sep 17 00:00:00 2001 From: nomed Date: Wed, 3 Jan 2018 08:08:56 +0100 Subject: [PATCH] fix parsing of locale section in weokspaxce.Workspace --- cubes/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubes/workspace.py b/cubes/workspace.py index 7553b48b..e3ada399 100644 --- a/cubes/workspace.py +++ b/cubes/workspace.py @@ -246,7 +246,7 @@ def __init__(self, config=None, stores=None, load_base_model=True, self.ns_languages = defaultdict(dict) for section in config.sections(): if section.startswith("locale"): - lang = section[9:] + lang = section[7:] # namespace -> path for nsname, path in config.items(section): if nsname == "defalt":