Ticket #8373: formatpath_unicode.diff
File formatpath_unicode.diff, 674 bytes (added by , 14 years ago) |
---|
-
MythData.py
686 686 ('R','description'), ('C','category'), 687 687 ('U','recgroup'), ('hn','hostname'), 688 688 ('c','chanid') ): 689 tmp = str(self[data]).replace('/','-')689 tmp = unicode(self[data]).encode('ascii','replace').replace('/','-') 690 690 path = path.replace('%'+tag, tmp) 691 691 for (data, pre) in ( ('starttime','%'), ('endtime','%e'), 692 692 ('progstart','%p'),('progend','%pe') ):