Skip to content

Commit

Permalink
Merge pull request #6256 from tomachalek/cnc_col_lemma_upd_b
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 18, 2024
2 parents ec869b7 + 53a1c33 commit 7a21b71
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 7a21b71

Please sign in to comment.