diff --git a/cum/scrapers/batoto.py b/cum/scrapers/batoto.py index 736ca31..ecdea4b 100644 --- a/cum/scrapers/batoto.py +++ b/cum/scrapers/batoto.py @@ -108,6 +108,7 @@ def download(self): for chunk in r.iter_content(chunk_size=4096): if chunk: f.write(chunk) + f.flush() files.append(f) self.create_zip(files) diff --git a/cum/scrapers/dynastyscans.py b/cum/scrapers/dynastyscans.py index c31c89a..db02bbb 100644 --- a/cum/scrapers/dynastyscans.py +++ b/cum/scrapers/dynastyscans.py @@ -68,6 +68,7 @@ def download(self): for chunk in r.iter_content(chunk_size=4096): if chunk: f.write(chunk) + f.flush() files.append(f) self.create_zip(files) diff --git a/setup.py b/setup.py index 5a88025..7a34302 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='cum', - version='0.2', + version='0.2.1', packages=find_packages(), py_modules=['cum'], install_requires=[