0001-mdel-ignore-case-when-searching-for-response-files-2.patch
passerelle/contrib/mdel/models.py | ||
---|---|---|
321 | 321 |
'outputs') |
322 | 322 | |
323 | 323 |
zfiles = [zfile for zfile in os.listdir(output_dir) |
324 |
if zfile.startswith(self.demand_id) and zfile.endswith('.zip')]
|
|
324 |
if zfile.lower().startswith(self.demand_id.lower()) and zfile.endswith('.zip')]
|
|
325 | 325 | |
326 | 326 |
def fnum(zfile): |
327 | 327 |
"""Returns response's file number |