Project

General

Profile

« Previous | Next » 

Revision 51572

fix null pointer Exception

View differences:

DLI.py
91 91
    if identifier:
92 92
        object_type = request.form.get('type')
93 93
        start = request.form.get('from')
94
        if len(object_type) == 0:
94
        if object_type and len(object_type) == 0:
95 95
            object_type = None
96 96
        if len(start) == 0:
97 97
            start = None

Also available in: Unified diff