mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Fixed some violations reported by pylint.
This commit is contained in:
parent
0e3ce9b339
commit
a31ab18ba0
2 changed files with 3 additions and 3 deletions
|
@ -48,8 +48,8 @@ def __output_html_template__(name):
|
|||
file_r = open(template_path, "rb")
|
||||
return file_r.read().decode("utf-8", "replace")
|
||||
|
||||
def __get_zip_file_content__(name, fileName="/html/flot.zip"):
|
||||
zip_file = zipfile.ZipFile(basedir.get_basedir() + fileName, "r")
|
||||
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")
|
||||
|
|
Loading…
Reference in a new issue