[mythtv-users] Update silence.py for fixes/31

TimP mythtv at corky.co
Fri Apr 24 11:07:38 UTC 2020


On 2020-04-16 16:30, TimP wrote:

> On 2020-04-16 13:04, Richard Shaw wrote:
> 
>> Have you tried running "2to3" on it? It's not always 100% but it does a pretty good job. 
>> 
>> Thanks, 
>> Richard
> 
> Yes I did, it didn't flag anything. I don't think it's clever enough to figure out that the data type of some imported libraries has changed.

Managed to get it working, the problem was that files and pipes now
return bytes rather than strings. Working nicely again. I would have
updated the wiki page but I've lost my account details and I can't
create a new one so attached is a patch for anyone that cares
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200424/f79c6742/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-diff
Size: 1179 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200424/f79c6742/attachment.bin>


More information about the mythtv-users mailing list