Author: rshortt
Date: Wed Mar  8 17:59:22 2006
New Revision: 8059

Modified:
   trunk/tvdev/src/base.py

Log:
Bugfix, need join, not isfile.


Modified: trunk/tvdev/src/base.py
==============================================================================
--- trunk/tvdev/src/base.py     (original)
+++ trunk/tvdev/src/base.py     Wed Mar  8 17:59:22 2006
@@ -129,7 +129,7 @@
             return os.path.join(cfgdir, cc)
         # search in /etc/freevo
         if os.path.isfile('/etc/freevo/channels-%s.conf' % self.device):
-            return os.path.isfile('/etc/freevo/channels-%s.conf' % self.device)
+            return os.path.join('/etc/freevo/channels-%s.conf' % self.device)
         # search for a simple file named channels.conf in different locations
         for cfgdir in (os.path.expanduser('~/.freevo'), '/etc/freevo',
                        os.path.expanduser('~/.mplayer'), 
os.path.expanduser('~/.xine')):


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to