From 9a22763e6422f54131c4a19776651aeabbec0e75 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Sat, 7 Nov 2015 05:50:15 +0100 Subject: [PATCH] Added missing line break in format.__get_zip_file_content__(...). --- gitinspector/format.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitinspector/format.py b/gitinspector/format.py index 4b7740c..505f9b1 100644 --- a/gitinspector/format.py +++ b/gitinspector/format.py @@ -61,6 +61,7 @@ def __output_html_template__(name): def __get_zip_file_content__(name, file_name="/html/flot.zip"): zip_file = zipfile.ZipFile(basedir.get_basedir() + file_name, "r") content = zip_file.read(name) + zip_file.close() return content.decode("utf-8", "replace")