Private
Public Access
1
0

move get_video_data to dataprep.py

This commit is contained in:
Sander Roosendaal
2019-11-12 13:12:56 +01:00
parent 737ac74c37
commit caa665b456
3 changed files with 73 additions and 67 deletions

View File

@@ -1810,7 +1810,7 @@ def leaflet_chart2(lat,lon,name=""):
return script,div
def leaflet_chart_video(lat,lon,name=""):
if lat.empty or lon.empty:
if not len(lat) or not len(lon):
return [0,"invalid coordinate data"]