matthuisman/kodi.proxy

SyntaxWarning: invalid escape sequence '\[' filling fvheadend log

skaface opened this issue · 3 comments

I think this has been happening since upgrading python, in my tvheadend log I am now seeing:

2024-07-30 12:31:33.147 spawn: plugin://slyguy.7plus/?_=playlist&output=/var/lib/tvheadend/kodi.proxy/addon_data/plugin.program.iptv.merge/iptv_merge_tmp
2024-07-30 12:31:34.594 spawn: /var/lib/tvheadend/kodi.proxy/proxy.py:775: SyntaxWarning: invalid escape sequence '['
2024-07-30 12:31:34.594 spawn: label = re.sub('[/?{}.*?]'.format(tag), '', label)

I am running python 3.12.4 on arch linux

could it be something to do with this?:
https://stackoverflow.com/questions/50504500/deprecationwarning-invalid-escape-sequence-what-to-use-instead-of-d

but ill see if i can clean it up. prettu sure just a r' will sort it :)

fixed now :)