Skip to content

Commit

Permalink
Merge pull request #6255 from tomachalek/col_lemma
Browse files Browse the repository at this point in the history
Add support for syn_v12 in col_lemma custom backlink
  • Loading branch information
tomachalek authored Jul 17, 2024
2 parents 56f7305 + 66d7a9e commit 628d606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/ucnk_backlinks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def col_lemma(amodel: ConcActionModel, req: KRequest, resp: KResponse):
cl = req.args.get('cl')
if not cl:
raise UserReadableException('Missing parameter "cl"')
if amodel.args.corpname not in ('syn_v11', ):
if amodel.args.corpname not in ('syn_v11', , 'syn_12'):
raise UserReadableException('Function not supported in {}'.format(amodel.args.corpname))
pf = req.args.get('p')
if not pf:
Expand Down

0 comments on commit 628d606

Please sign in to comment.