diff options
author | Jayaram Pai | 2013-12-17 17:37:27 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-17 17:37:27 +0530 |
commit | ba50e5b88b9c44938d555ae9b015494741f8e2b5 (patch) | |
tree | 6682a33a98051d7332f9a6efa1411718de5d3b1d /website | |
parent | 11a676c7c97f71476c45857ed8dc7476427ce24c (diff) | |
download | spoken-tutorial-forums-ba50e5b88b9c44938d555ae9b015494741f8e2b5.tar.gz spoken-tutorial-forums-ba50e5b88b9c44938d555ae9b015494741f8e2b5.tar.bz2 spoken-tutorial-forums-ba50e5b88b9c44938d555ae9b015494741f8e2b5.zip |
fixed: zero length field in format (python version issue)
Diffstat (limited to 'website')
-rw-r--r-- | website/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/views.py b/website/views.py index fb19a54..db2e18e 100644 --- a/website/views.py +++ b/website/views.py @@ -211,7 +211,7 @@ def ajax_duration(request): Q(tutorial_detail_id=video_detail.id), Q(language='English') ) - video_path = '/Sites/spoken_tutorial_org/sites/default/files/{}'.format( + video_path = '/Sites/spoken_tutorial_org/sites/default/files/{0}'.format( video_resource.tutorial_video ) video_info = get_video_info(video_path) |