Skip to content

Commit

Permalink
Einzelupdate util.py, childs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Sep 28, 2024
1 parent 8cfa226 commit 7ba66a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/lib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# 02.11.2019 Migration Python3 Modul future
# 17.11.2019 Migration Python3 Modul kodi_six + manuelle Anpassungen
#
# <nr>108</nr> # Numerierung für Einzelupdate
# Stand: 19.09.2024
# <nr>109</nr> # Numerierung für Einzelupdate
# Stand: 28.09.2024

# Python3-Kompatibilität:
from __future__ import absolute_import
Expand Down Expand Up @@ -1487,7 +1487,7 @@ def repl_char(cut_char, line): # problematische Zeichen in Text entfernen, wenn
def repl_json_chars(line):
line_ret = line
#PLog(type(line_ret))
for r in ((u'"', u''), (u'\\', u''), (u'\'', u''), (u'%5C', u'')
for r in ((u'"', u''), (u'\\', u''), (u'\'', u''), (u'%5C', u'')
, (u'&', u'und'), ('(u', u'<'), (u'(', u'<'), (u')', u'>'), (u'∙', u'|')
, (u'„', u'>'), (u'“', u'<'), (u'”', u'>'),(u'°', u' Grad'), (u'u00b0', u' Grad')
, (u'\r', u''), (u'#', u'*'), (u'u003e', u''), (u'❤', u'love'), (u'%C3%A9', u'é') # u'u003e' -> u'®'
Expand Down Expand Up @@ -1515,7 +1515,7 @@ def valid_title_chars(line):
# Hochkommata, dto urlkodiert - nicht erfasst in valid_chars:
line_ret = (line_ret.replace(u'"', '').replace(u"'", '')\
.replace(u"%27", '').replace(u"%22", '').replace(u"%5B", '')\
.replace(u"%5D", ''))
.replace(u"%5D", '').replace(u"&", '+'))

return line_ret
#----------------------------------------------------------------
Expand Down

0 comments on commit 7ba66a6

Please sign in to comment.