Omnibus commited on
Commit
7faf1b3
·
verified ·
1 Parent(s): 7cbf22e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -385,7 +385,9 @@ def format_json(inp):
385
  new_json=[]
386
  print("FORMATTING:::")
387
  for i,line in enumerate(inp):
388
- if line.strip().startswith(("keywords","title","description","content","url","{","}"),0,12):
 
 
389
  print (line)
390
 
391
  '''
 
385
  new_json=[]
386
  print("FORMATTING:::")
387
  for i,line in enumerate(inp):
388
+ line = line.strip()
389
+ print(line)
390
+ if line.startswith(("keywords","title","description","content","url","{","}")):
391
  print (line)
392
 
393
  '''