Revision 49829
Added by Sandro La Bruzzo almost 7 years ago
modules/dli-service-portal/trunk/DLI.py | ||
---|---|---|
75 | 75 |
start = None |
76 | 76 |
else: |
77 | 77 |
start = int(start) |
78 |
connector = DLIESConnector(ES_HOST, DLI_INDEX)
|
|
78 |
connector = DLIESConnector() |
|
79 | 79 |
return jsonify(result=connector.item_by_id(identifier, object_type, start)) |
80 | 80 |
else: |
81 | 81 |
raise InvalidUsage('This view is gone', status_code=410) |
Also available in: Unified diff
fixed npe