Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv28555
Modified Files:
misc.py
Log Message:
no need to check image
Index: misc.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/misc.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** misc.py 12 Dec 2003 19:20:07 -0000 1.8
--- misc.py 29 Dec 2003 22:31:56 -0000 1.9
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.9 2003/12/29 22:31:56 dischi
+ # no need to check image
+ #
# Revision 1.8 2003/12/12 19:20:07 dischi
# check images
***************
*** 54,58 ****
import copy
import htmlentitydefs
- import imghdr
--- 57,60 ----
***************
*** 165,169 ****
"""
for suffix in ('png', 'jpg', 'gif'):
! if vfs.abspath(base+'.'+suffix) and imghdr.what(base+'.'+suffix):
return vfs.abspath(base+'.'+suffix)
return default
--- 167,171 ----
"""
for suffix in ('png', 'jpg', 'gif'):
! if vfs.abspath(base+'.'+suffix):
return vfs.abspath(base+'.'+suffix)
return default
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog