Commit
·
19137a2
1
Parent(s):
3c76c1a
Update main.py
Browse files
main.py
CHANGED
|
@@ -38,9 +38,10 @@ def index():
|
|
| 38 |
timezone = pytz.timezone(info['timezone'])
|
| 39 |
time = dt.datetime.now(timezone)
|
| 40 |
loc = info['loc']
|
|
|
|
| 41 |
X, Y = latlon_to_pixel(info['loc'])
|
| 42 |
-
|
| 43 |
-
return render_template('index.html', name=name, url=
|
| 44 |
|
| 45 |
if __name__ == '__main__':
|
| 46 |
-
app.run(host='0.0.0.0', port='7860')
|
|
|
|
| 38 |
timezone = pytz.timezone(info['timezone'])
|
| 39 |
time = dt.datetime.now(timezone)
|
| 40 |
loc = info['loc']
|
| 41 |
+
print(info)
|
| 42 |
X, Y = latlon_to_pixel(info['loc'])
|
| 43 |
+
print(url)
|
| 44 |
+
return render_template('index.html', name=name, url=url, info=info, time=time, ip=ip, org=org, loc=loc, X=X, Y=Y)
|
| 45 |
|
| 46 |
if __name__ == '__main__':
|
| 47 |
+
app.run(host='0.0.0.0', port='7860', debug=True)
|