Update of /cvsroot/freevo/freevo/src/plugins/idlebar
In directory sc8-pr-cvs1:/tmp/cvs-serv8992

Modified Files:
        __init__.py 
Log Message:
check for crash

Index: __init__.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/idlebar/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** __init__.py 27 Oct 2003 20:11:12 -0000      1.1
--- __init__.py 15 Nov 2003 11:25:32 -0000      1.2
***************
*** 19,22 ****
--- 19,25 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2003/11/15 11:25:32  dischi
+ # check for crash
+ #
  # Revision 1.1  2003/10/27 20:11:12  dischi
  # move idlebar.py to a directory
***************
*** 344,350 ****
                  except IOError:
                      print 'WEATHER: error reading cache. Using fake weather.'
!                     cachefile.write('0' + '\n')
!                     cachefile.write('sun.png' + '\n')
!                     cachefile.close()
                      return '0', 'sun.png'
  
--- 347,357 ----
                  except IOError:
                      print 'WEATHER: error reading cache. Using fake weather.'
!                     try:
!                         cachefile = open(self.WEATHERCACHE,'w+')
!                         cachefile.write('0' + '\n')
!                         cachefile.write('sun.png' + '\n')
!                         cachefile.close()
!                     except IOError:
!                         print 'You have no permission to write %s' % 
self.WEATHERCACHE
                      return '0', 'sun.png'
  




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to