mirror of
https://github.com/assenzostefano/class-website.git
synced 2025-06-06 00:39:12 +02:00
Now send a screenshot of the timetable when you find Italian language in the school time table and I have fixed the school time table so no one has trouble reading it
This commit is contained in:
4
app.py
4
app.py
@@ -38,7 +38,9 @@ def orario():
|
||||
response = Request(url, headers={"User-Agent": "Mozilla/5.0"})
|
||||
webpage = urlopen(response).read()
|
||||
dict = list(json.loads(webpage))
|
||||
return render_template('orario/orario.html', data=dict)
|
||||
number = str(range(0,7))
|
||||
day = str(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"])
|
||||
return render_template('orario/orario.html', data=dict, number=number, day=day)
|
||||
|
||||
@app.route('/calendario')
|
||||
def calendario():
|
||||
|
Reference in New Issue
Block a user