diff --git a/web/app.py b/web/app.py index 7018c6a..f9ab82c 100644 --- a/web/app.py +++ b/web/app.py @@ -885,6 +885,10 @@ def hbnet_web_service(): """, icon=folium.Icon(color="blue", icon="record"), tooltip='' + i.callsign + '').add_to(f_map) for l in peer_l: +## print(time.time() - l.time().total_seconds() > 3600 ) +## print(datetime.datetime.now() - timedelta(days = 2)) +## if datetime.datetime.now() - timedelta(days = 2) > timedelta(days = 2): +## print('greater') ## folium.Marker([float(l[1][1]), float(l[1][2])], popup=''' ##
##

''' + l[1][0] + '''

@@ -3257,6 +3261,7 @@ Name: ''' + p.name + '''  -  Port: ''' + str( _peer_loc = PeerLoc.query.filter_by(dmr_id=_dmr_id).first() db.session.delete(_peer_loc) db.session.commit() + print('deleted peer location') except: print('Peer not in DB') pass