Author: duncan
Date: Mon Apr 16 19:21:31 2007
New Revision: 9470
Modified:
branches/rel-1/freevo/src/plugins/df.py
Log:
Fixed a small problem with the disk free and the recordings manager which
causes a crash when 'Entering' a series
Modified: branches/rel-1/freevo/src/plugins/df.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/df.py (original)
+++ branches/rel-1/freevo/src/plugins/df.py Mon Apr 16 19:21:31 2007
@@ -53,7 +53,7 @@
plugin.ItemPlugin.__init__(self)
def actions(self, item):
- if item.type == 'dir':
+ if item.type == 'dir' and hasattr(item, 'dir'):
freespace = util.freespace(item.dir)
totalspace = util.totalspace(item.dir)
freespacemb = (freespace / 1024) / 1024
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog