mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
a8063e1c0d
commit
7ca1a5aee9
|
@ -138,10 +138,6 @@ def preparePostFromHtmlCache(nickname: str, postHtml: str, boxName: str,
|
|||
for keyIndex in range(10):
|
||||
keyStr = 'accesskey="' + str(keyIndex) + '"'
|
||||
if keyStr in withPageNumber:
|
||||
if accessKeyIndex == 0 or accessKeyIndex > 9:
|
||||
withPageNumber = \
|
||||
withPageNumber.replace(keyStr, '')
|
||||
else:
|
||||
withPageNumber = \
|
||||
withPageNumber.replace(keyStr,
|
||||
'accesskey="' +
|
||||
|
|
Loading…
Reference in New Issue