diff --git a/zap2epg.py b/zap2epg.py index 62bf2b7..1d23683 100644 --- a/zap2epg.py +++ b/zap2epg.py @@ -371,7 +371,7 @@ def printEpisodes(fh): if edict['epfilter'] is not None and edict['epgenres'] is not None: genreNewList = genreSort(edict['epfilter'], edict['epgenres']) for genre in genreNewList: - fh.write("\t\t" + genre + "\n") + fh.write("\t\t" + re.sub('&','&', genre) + "\n") fh.write("\t\n") episodeCount += 1 except Exception as e: