Commit 9d75d9e8 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

Remove case of a 'sed-2' language coming from the seda cube, add None (ie no...

Remove case of a 'sed-2' language coming from the seda cube, add None (ie no language specified) instead
parent c2269e0a5bb9
......@@ -45,7 +45,7 @@ else:
languages = set(lang for lang, in self._cw.execute(
'DISTINCT Any OLC WHERE ' + baserql + ', O preferred_label OL, '
'OL language_code OLC', args))
for lang in (self._cw.lang, 'en', 'sed-2'):
for lang in (self._cw.lang, 'en', None):
if lang in languages:
break
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment