Added missing line break in format.__get_zip_file_content__(...).

This commit is contained in:
Adam Waldenberg 2015-11-07 05:50:15 +01:00
parent 346645d655
commit 9a22763e64

View file

@ -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")