summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorJayaram Pai2014-04-19 21:13:22 +0530
committerJayaram Pai2014-04-19 21:13:22 +0530
commit4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 (patch)
treece5263df49c4fa4c90a3bcf2f47da350fc72b909 /website
parent7d6be77f4961a0187f6d2646147f513dbc54c2c2 (diff)
downloadFOSSEE-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.py8
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