broadfield commited on
Commit
11fa4a7
·
verified ·
1 Parent(s): 5ead448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -157,8 +157,8 @@ def parse_json(inp):
157
  print(e)
158
  return "None","None"
159
  elif type(inp)==type({}):
160
- out1=inp['filename']
161
- out2=inp['filecontent']
162
  return out1,out2
163
  def build_space(repo_name,file_name,file_content,access_token=""):
164
  try:
 
157
  print(e)
158
  return "None","None"
159
  elif type(inp)==type({}):
160
+ out1=str(inp['filename'])
161
+ out2=str(inp['filecontent'])
162
  return out1,out2
163
  def build_space(repo_name,file_name,file_content,access_token=""):
164
  try: