Set list/range flag in events.py instead of the export function

This commit is contained in:
Patrick Jentsch committed 2020-04-02 10:36:59 +02:00
1 parent 452fb37b99
commit b8a086f389
2 files changed
+2 -2

No files matched your search

+1 -2
View File
@@ -82,8 +82,7 @@ class Subcorpus:
match = {'lc': lc, 'c': c, 'rc': rc}
matches.append(match)
lookups = self.corpus.lookups_by_cpos(cpos_list)
return {'cpos_ranges': (not expand_lists), 'matches': matches,
**lookups}
return {'matches': matches, **lookups}
def fdist_1(self, cutoff, field, attribute):
return self.client.api.cqp_fdist_1(self._name, cutoff,