Commit faf064b5 by Czémán Arnold

Merge branch 'fix-bz2-typo' into 'master'

disk.py: fix typo

See merge request !16
parents ee429ef5 bee0b576
...@@ -217,7 +217,7 @@ class Disk(object): ...@@ -217,7 +217,7 @@ class Disk(object):
try: try:
with open(disk_path, 'wb') as f: with open(disk_path, 'wb') as f:
for chunk in r.iter_content(chunk_size=chunk_size): for chunk in r.iter_content(chunk_size=chunk_size):
if ext in ('gz', 'bz'): if ext in ('gz', 'bz2'):
chunk = decompressor.decompress(chunk) chunk = decompressor.decompress(chunk)
f.write(chunk) f.write(chunk)
actsize = f.tell() actsize = f.tell()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment