Hello, It's me again.

This new attached patch seem better, but it's still not generating link
to the original video.

Description: Upstream changes introduced in version 0.6.1-1.0.0.1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 lazygal (0.6.1-1.0.0.1) UNRELEASED; urgency=low
 .
   * Take care of link to orginal media when it's a video
 .
 The person named in the Author field signed this changelog entry.
Author: Rémi Vanicat <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- lazygal-0.6.1.orig/lazygal/genpage.py
+++ lazygal-0.6.1/lazygal/genpage.py
@@ -235,7 +235,7 @@ class WebalbumBrowsePage(WebalbumPage):
                     self.dir.source_dir.strip_root(),
                     self.media.filename)
             else:
-                tpl_values['original_link'] = self.image.filename
+                tpl_values['original_link'] = self.media.filename
             tpl_values['original_link'] =\
                 self.url_quote(tpl_values['original_link'])
 
-- 
Rémi Vanicat

Reply via email to