Duncan Webb a écrit :
> Pascal Schirrmann wrote:
>   
>> 1) This svn version includes a change I created, allowing to have
>> different sound levels for each TV_CHANNELS.
>> But one cleaning doesn't work as expected, and I'm unable to understand
>> why. I suppose that this change led to an exception, and, as the whole
>> block is in a try: part, this exception is maybe trapped ?
>> (See the diff of channels.py)
>>     
>
> I wonder if the chan_info is not a list as "if len(chan_info) > 4:"
> should work. Can you do some more testing on this, by adding a "print
> type(chan_info)" before the test.
>   
I wasn't sure about the debugger, so I did add a "plain old debug line" :

The type of chan_info is 'tuple' in each case, when working or not.
When working (on my testbed) the len of chan_info is 6
When not working, the len is 3 so the test definitively should work ?

(I'm lost :-) )

Thanks,
Pascal

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to