Project

General

Profile

« Previous | Next » 

Revision 49829

fixed npe

View differences:

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