fixed load_next() call (loop was not given as argument to the base-method
authorThomas Schmidt <tschmidt@debian.org>
Sat, 17 Oct 2009 13:06:15 +0000 (15:06 +0200)
committerThomas Schmidt <tschmidt@debian.org>
Sat, 17 Oct 2009 13:06:15 +0000 (15:06 +0200)
canola-flickr/flickr/ui.py

index 921999c..530332d 100644 (file)
@@ -355,8 +355,8 @@ class ImageViewerController(BaseImageViewerController):
         return res
 
     def load_next(self, loop=False, end_callback=None):
-        log.debug("switching to next photo!")
-        res = BaseImageViewerController.load_next(self, end_callback=end_callback)
+        log.debug("switching to next photo (loop: %s)!" % loop)
+        res = BaseImageViewerController.load_next(self, loop=loop, end_callback=end_callback)
         self.reload_favorite_option_model()
         return res