forked from 0x2620/pandora
typo
This commit is contained in:
parent
211bde468d
commit
390a5bc9aa
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ def load_config(init=False):
|
||||||
for key in config['documentKeys']:
|
for key in config['documentKeys']:
|
||||||
if key['id'] in default_filters and not key.get('filter'):
|
if key['id'] in default_filters and not key.get('filter'):
|
||||||
key['filter'] = True
|
key['filter'] = True
|
||||||
sys.stderr.write('enabled filter for documeny key "%s" since its used as default filter.\n' % (key['id']))
|
sys.stderr.write('enabled filter for document key "%s" since its used as default filter.\n' % (key['id']))
|
||||||
|
|
||||||
config['keys'] = {}
|
config['keys'] = {}
|
||||||
for key in config['itemKeys']:
|
for key in config['itemKeys']:
|
||||||
|
|
|
@ -439,7 +439,7 @@ def upload(request):
|
||||||
|
|
||||||
def autocompleteDocuments(request, data):
|
def autocompleteDocuments(request, data):
|
||||||
'''
|
'''
|
||||||
Returns autocomplete strings for a given documeny key and search string
|
Returns autocomplete strings for a given document key and search string
|
||||||
takes {
|
takes {
|
||||||
key: string, // document key
|
key: string, // document key
|
||||||
value: string, // search string
|
value: string, // search string
|
||||||
|
|
Loading…
Reference in a new issue