Skip to content

Commit

Permalink
Flush Batoto and DynastyScans images at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamuko committed Oct 3, 2015
1 parent 3c3e102 commit 187eb74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cum/scrapers/batoto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions cum/scrapers/dynastyscans.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='cum',
version='0.2',
version='0.2.1',
packages=find_packages(),
py_modules=['cum'],
install_requires=[
Expand Down

0 comments on commit 187eb74

Please sign in to comment.