On Friday 10 March 2006 12:58, Rob Shortt wrote:
> >>-            return os.path.isfile('/etc/freevo/channels-%s.conf' %
> >> self.device) +            return
> >> os.path.join('/etc/freevo/channels-%s.conf' % self.device)
> >
> > Why?
>
> Because the function this is in returns the path to the channels.conf
> but in this case only returned True or False.

Shouldn't it be
  "".join(map(None, os.path.join('/etc/freevo/channels-%s.conf' % 
self.device)))
for optimization? ;-P

-- 
Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo

Attachment: pgpdTPviTtGNn.pgp
Description: PGP signature

Reply via email to