Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv31275/util

Modified Files:
        fxdimdb.py 
Log Message:
Two fixes:

o the 'str2XML' function is a method of the FxdImdb() class, so call it as
    part of the object
o Don't say "Image downloading failed" since an image url isn't always
    provided. If it actually is provided and fails, show the message.


Index: fxdimdb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/fxdimdb.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fxdimdb.py  8 Jan 2004 17:33:15 -0000       1.1
--- fxdimdb.py  9 Jan 2004 06:30:49 -0000       1.2
***************
*** 12,15 ****
--- 12,23 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2004/01/09 06:30:49  outlyer
+ # Two fixes:
+ #
+ # o the 'str2XML' function is a method of the FxdImdb() class, so call it as
+ #     part of the object
+ # o Don't say "Image downloading failed" since an image url isn't always
+ #     provided. If it actually is provided and fails, show the message.
+ #
  # Revision 1.1  2004/01/08 17:33:15  outlyer
  # Moved fxdimdb.py to util; it doesn't use the OSD, and having in video
***************
*** 742,745 ****
--- 750,757 ----
          """Fetch the best image"""
          image_len = 0
+ 
+         if (len(self.image_urls) == 0): # No images
+             return
+ 
          for image in self.image_urls:
              try:




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to