mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 21:52:15 +01:00
Use repos_string instead of repos[0].name in JSON output in format.py.
This commit is contained in:
parent
9a22763e64
commit
12f8c8a192
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def output_header(repos):
|
|||
print("\t\t\"version\": \"" + version.__version__ + "\",")
|
||||
|
||||
if len(repos) <= 1:
|
||||
print("\t\t\"repository\": \"" + repos[0].name + "\",")
|
||||
print("\t\t\"repository\": \"" + repos_string + "\",")
|
||||
else:
|
||||
repos_json = "\t\t\"repositories\": [ "
|
||||
|
||||
|
|
Loading…
Reference in a new issue