mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
fix typo: undo unintended change from warning in earlier commit, stick with 'not items', fixes issue with 404s mentioned in ukwa/ukwa-pywb#39
This commit is contained in:
parent
5da6122d83
commit
3868f5b915
@ -260,7 +260,7 @@ class XmlQueryIndexSource(BaseIndexSource):
|
||||
|
||||
raise NotFoundException('url {0} not found'.format(url))
|
||||
|
||||
if len(items) == 0:
|
||||
if not items:
|
||||
raise NotFoundException('url {0} not found'.format(url))
|
||||
|
||||
items = items.findall('result')
|
||||
|
Loading…
x
Reference in New Issue
Block a user