It's not so much a bug, just defensive coding.
This is my first go at python and freevo so be nice if I did it wrong. :)
am I posting this to the correct list?

Basically my disk was read only (yes stupid I know) so cover search
couldnt write to the disk this patch just puts a popup for 2 seconds
explaining the problem...

Cheers
Patrick

diff follows

340,343c340,353
<       m = open(filename,'wb')) == false:
<         m.write(fp.read())
<         m.close()
<         fp.close()
---
>
>         try:
>           m  = open(filename,'wb')
>       except IOError:
>           box.destroy()
>           box = PopupBox(text= _( 'Error Writing To Disk, Maybe Disk is
Read Only?') )
>           box.show()
>           time.sleep(2)
>           box.destroy()
>       else:
>               m.write(fp.read())
>               m.close()
>
>       fp.close()




-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to