From cf9fc3d764462891886e82cacf33497a3deee245 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 28 Sep 2019 19:01:23 +0000 Subject: [PATCH] Fix downloading databases in the default format Signed-off-by: Michael Tremer --- tools/downloader.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/downloader.py b/tools/downloader.py index 56714ef..6cc738e 100644 --- a/tools/downloader.py +++ b/tools/downloader.py @@ -89,7 +89,10 @@ class DownloaderContext(object): Makes the object iterable by going through each block """ if self.return_blocks: - return util.iterate_over_blocks(self.body) + for b in util.iterate_over_blocks(self.body): + yield b + + return # Store body body = self.body -- 2.47.3