Commit 460e95a9 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

no need

parent ba4accdb
import json
with open('projects.json') as data_file:
Projects = json.load(data_file)
for p,v in Projects.items():
print(" "+p+":")
if isinstance(v,dict):
for k,l in v.items():
print(" "+k+":")
tmpstr = " "
for e in l:
if e=="":
e = "\"\""
tmpstr += " "+e
print(tmpstr)
elif isinstance(v,list):
tmpstr = " "
for e in v:
tmpstr += " "+e
print(tmpstr)
print("\n0 errors\n")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment