mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 21:52:15 +01:00
Added missing line break in format.__get_zip_file_content__(...).
This commit is contained in:
parent
346645d655
commit
9a22763e64
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ def __output_html_template__(name):
|
||||||
def __get_zip_file_content__(name, file_name="/html/flot.zip"):
|
def __get_zip_file_content__(name, file_name="/html/flot.zip"):
|
||||||
zip_file = zipfile.ZipFile(basedir.get_basedir() + file_name, "r")
|
zip_file = zipfile.ZipFile(basedir.get_basedir() + file_name, "r")
|
||||||
content = zip_file.read(name)
|
content = zip_file.read(name)
|
||||||
|
|
||||||
zip_file.close()
|
zip_file.close()
|
||||||
return content.decode("utf-8", "replace")
|
return content.decode("utf-8", "replace")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue