]> code.delx.au - monosys/commitdiff
Fixed number of return values
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Aug 2011 12:55:49 +0000 (22:55 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Aug 2011 12:55:49 +0000 (22:55 +1000)
ripping/youtube.cgi

index 7d00908e7a6fa7f6cf806b23fb737b00a2b9a767..02f55dc04b20dadc327157011cc28d382f1d933d 100755 (executable)
@@ -89,7 +89,7 @@ def get_video_url(doc):
                except KeyError:
                        continue
        else:
-               return None, None, None
+               return None, None
 
        title = doc.xpath("/html/head/title/text()")[0]
        title = re.sub("\s+", " ", title.strip())