siyuansc commited on
Commit
c0a39cb
1 Parent(s): 585b3fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,14 +14,14 @@ pn.extension('vega')
14
  events={}
15
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
16
  for nation in nations:
17
- with open('./events_%s.json' %nation) as json_data:
18
  events[nation] = json.load(json_data)
19
 
20
  # loading the match data
21
  matches={}
22
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
23
  for nation in nations:
24
- with open('./matches_%s.json' %nation) as json_data:
25
  matches[nation] = json.load(json_data)
26
 
27
  # loading the players data
 
14
  events={}
15
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
16
  for nation in nations:
17
+ with open('events/events_%s.json' %nation) as json_data:
18
  events[nation] = json.load(json_data)
19
 
20
  # loading the match data
21
  matches={}
22
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
23
  for nation in nations:
24
+ with open('matches/matches_%s.json' %nation) as json_data:
25
  matches[nation] = json.load(json_data)
26
 
27
  # loading the players data