Hello,

Trying to get the imdb cover for a CD with a movie (.avi) inside I
found 2 bugs:

1) It tries to save it in the CD, but it can't :)

2) There is a buggy code in:

def download_image(url, filename)

there is a block:

    except IOError:
        print "Writing image failed"
        conn.close()
        return None

Where 'conn' doesn't exists! Maybe it's 'r' from:
    try:
        r = urllib2.urlopen(req)

however, if this is right, where are the other r.close() ?


Gustavo


_______________________________________________________________________
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção 
contra spam.
http://br.mail.yahoo.com/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to