fixed something
This commit is contained in:
@@ -2945,7 +2945,7 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
|
||||
hover.mode = 'mouse'
|
||||
hover.names = ["spm","pace"]
|
||||
|
||||
script, div = components(layout)
|
||||
script, div = components(plot)
|
||||
|
||||
return [script,div]
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ def get_video_id(url):
|
||||
|
||||
if url.startswith(('youtu', 'www')):
|
||||
url = 'http://' + url
|
||||
elif 'http' not in url:
|
||||
return url
|
||||
|
||||
query = urlparse(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user