Author: duncan
Date: Wed Dec  5 14:44:04 2007
New Revision: 10177

Log:
When a CD is in a drive the menu will crash on the play list, this stops this 
case


Modified:
   branches/rel-1/freevo/src/menu.py

Modified: branches/rel-1/freevo/src/menu.py
==============================================================================
--- branches/rel-1/freevo/src/menu.py   (original)
+++ branches/rel-1/freevo/src/menu.py   Wed Dec  5 14:44:04 2007
@@ -88,7 +88,7 @@
         """
         call the default acion
         """
-        if self.function:
+        if self.function and not isinstance(self.function, list):
             self.function(arg=self.arg, menuw=menuw)
 
 

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to