Skip to content

Commit

Permalink
Einzelupdate my3Sat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Sep 28, 2024
1 parent 7ba66a6 commit db8f84d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions resources/lib/my3Sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# 18.11.2019 Migration Python3 Modul kodi_six + manuelle Anpassungen
#
################################################################################
# <nr>17</nr> # Numerierung für Einzelupdate
# Stand: 17.05.2024
# <nr>18</nr> # Numerierung für Einzelupdate
# Stand: 22.09.2024

# Python3-Kompatibilität:
from __future__ import absolute_import # sucht erst top-level statt im akt. Verz.
Expand Down Expand Up @@ -332,9 +332,10 @@ def SendungenAZ(name, path):
tag = "%s | %s" % (tag, sub_rubrik)
tag = cleanhtml(tag)

title=unescape(title)
title = repl_json_chars(title); descr = repl_json_chars(descr);
descr_par = descr.replace('\n', '||')

PLog('Satz1:')
PLog(img_src); PLog(rubrik); PLog(title); PLog(href); PLog(descr);

Expand Down Expand Up @@ -1311,7 +1312,7 @@ def get_lazyload(li, page, ref_path):
if path == '':
path = "%s/%s.html" % (DreiSat_BASE, sophId) # Zielpfad bauen

tag = tag.strip()
tag = tag.strip(); tag=unescape(tag)
descr=py2_decode(descr); tag=py2_decode(tag)
if tag:
descr = "%s\n\n%s" % (tag, descr)
Expand Down

0 comments on commit db8f84d

Please sign in to comment.