forked from bellwether/minerva
properly handles no results being returned
This commit is contained in:
parent
8c498ba5dd
commit
ac657f671d
2 changed files with 10 additions and 2 deletions
|
|
@ -66,6 +66,7 @@ class Query:
|
|||
# Because we're using `UNLOAD`, we get a manifest of the files
|
||||
# that make up our data.
|
||||
files = self.manifest(tiedot).strip().split("\n")
|
||||
files = [f.strip() for f in files if f.strip()] # filter empty
|
||||
|
||||
# TODO parallelize this
|
||||
local = [self.handler.download(f) for f in files]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue