Fix indentation error.
This commit is contained in:
parent
fe28417809
commit
f1a7a4cf02
1 changed files with 5 additions and 5 deletions
10
secretary.py
10
secretary.py
|
|
@ -140,11 +140,11 @@ class Renderer(object):
|
||||||
zip_file = io.BytesIO()
|
zip_file = io.BytesIO()
|
||||||
|
|
||||||
zipdoc = zipfile.ZipFile(zip_file, 'a')
|
zipdoc = zipfile.ZipFile(zip_file, 'a')
|
||||||
for fname, content in files.items():
|
for fname, content in files.items():
|
||||||
if sys.version_info >= (2, 7):
|
if sys.version_info >= (2, 7):
|
||||||
zipdoc.writestr(fname, content, zipfile.ZIP_DEFLATED)
|
zipdoc.writestr(fname, content, zipfile.ZIP_DEFLATED)
|
||||||
else:
|
else:
|
||||||
zipdoc.writestr(fname, content)
|
zipdoc.writestr(fname, content)
|
||||||
|
|
||||||
self.log.debug('Document packing completed')
|
self.log.debug('Document packing completed')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue