Author: duncan
Date: Fri Sep 29 08:17:16 2006
New Revision: 8255

Modified:
   branches/rel-1-5/freevo/src/plugins/mediamenu.py

Log:
[ 1566584 ] Mediamedu crash on non existent directory
Fix applied.


Modified: branches/rel-1-5/freevo/src/plugins/mediamenu.py
==============================================================================
--- branches/rel-1-5/freevo/src/plugins/mediamenu.py    (original)
+++ branches/rel-1-5/freevo/src/plugins/mediamenu.py    Fri Sep 29 08:17:16 2006
@@ -173,6 +173,9 @@
                                 reachable = 0
                         except:
                             traceback.print_exc()
+                elif not os.path.isdir(filename):
+                    print '\"%s\" is not a directory or doesn\'t exist' % 
(filename)
+                    reachable = 0
                        
                 if reachable:
                     if vfs.isdir(filename):

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to