Omnibus commited on
Commit
b343300
·
verified ·
1 Parent(s): cb3b6d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ PAGE_LINK
11
  def load_json(url1="",url2="",url3="",url4=""):
12
  get_url=f'{main_directory}{url1}{url2}{url3}{url4}'
13
  feed1 = requests.get(get_url)
14
- if get_url.endswith(".json"):
15
  return feed1.text
16
 
17
  def make_tree(url1="",url2="",url3="",url4=""):
 
11
  def load_json(url1="",url2="",url3="",url4=""):
12
  get_url=f'{main_directory}{url1}{url2}{url3}{url4}'
13
  feed1 = requests.get(get_url)
14
+ if get_url.endswith('.json"'):
15
  return feed1.text
16
 
17
  def make_tree(url1="",url2="",url3="",url4=""):