diff options
author | Jayaram Pai | 2014-04-19 21:13:22 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-04-19 21:13:22 +0530 |
commit | 4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 (patch) | |
tree | ce5263df49c4fa4c90a3bcf2f47da350fc72b909 /website | |
parent | 7d6be77f4961a0187f6d2646147f513dbc54c2c2 (diff) | |
download | FOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.gz FOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.bz2 FOSSEE-Forum-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.zip |
added meta to answers, fixed video_path
Diffstat (limited to 'website')
-rw-r--r-- | website/views.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/website/views.py b/website/views.py index bc58b79..b6f9903 100644 --- a/website/views.py +++ b/website/views.py @@ -355,10 +355,10 @@ def ajax_duration(request): Q(tutorial_detail_id=video_detail.id), Q(language='English') ) - #video_path = '/Sites/spoken_tutorial_org/sites/default/files/{0}'.format( - # video_resource.tutorial_video - #) - video_path = '/home/cheese/test-video.ogv' + video_path = '/Sites/spoken_tutorial_org/sites/default/files/{0}'.format( + video_resource.tutorial_video + ) + # video_path = '/home/cheese/test-video.ogv' video_info = get_video_info(video_path) # convert minutes to 1 if less than 0 |