Skip to content

Commit a6f0562

Browse files
committed
fix parsing of locale section in weokspaxce.Workspace
1 parent fd1be2d commit a6f0562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cubes/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def __init__(self, config=None, stores=None, load_base_model=True,
246246
self.ns_languages = defaultdict(dict)
247247
for section in config.sections():
248248
if section.startswith("locale"):
249-
lang = section[9:]
249+
lang = section[7:]
250250
# namespace -> path
251251
for nsname, path in config.items(section):
252252
if nsname == "defalt":

0 commit comments

Comments
 (0)