mirror of https://gitlab.com/bashrc2/epicyon
Check for headers
parent
9d89be69d9
commit
11f9fe96e2
|
@ -5171,12 +5171,18 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
if linksList:
|
if linksList:
|
||||||
for lineStr in linksList:
|
for lineStr in linksList:
|
||||||
if ' ' not in lineStr:
|
if ' ' not in lineStr:
|
||||||
continue
|
if '#' not in lineStr:
|
||||||
|
if '*' not in lineStr:
|
||||||
|
continue
|
||||||
lineStr = lineStr.strip()
|
lineStr = lineStr.strip()
|
||||||
words = lineStr.split(' ')
|
words = lineStr.split(' ')
|
||||||
# get the link
|
# get the link
|
||||||
linkStr = None
|
linkStr = None
|
||||||
for word in words:
|
for word in words:
|
||||||
|
if word == '#':
|
||||||
|
continue
|
||||||
|
if word == '*':
|
||||||
|
continue
|
||||||
if '://' in word or word.endswith('.html'):
|
if '://' in word or word.endswith('.html'):
|
||||||
linkStr = word
|
linkStr = word
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue