diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/website/views.py b/website/views.py index 38bd973..4c9d8dd 100644 --- a/website/views.py +++ b/website/views.py @@ -13,7 +13,7 @@ from website.forms import NewQuestionForm, ReplyQuesitionForm from website.helpers import get_video_info admins = ( - 99999, + 9, 4376, 4915, 14595, 12329, 22467, 5518 ) categories = ( @@ -251,10 +251,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 |