mirror of https://gitlab.com/bashrc2/epicyon
Path
parent
325da0b8ce
commit
2f8b6052e7
|
@ -8118,6 +8118,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
postId = postId.split('?')[0]
|
postId = postId.split('?')[0]
|
||||||
postUrl = httpPrefix + '://' + domainFull + \
|
postUrl = httpPrefix + '://' + domainFull + \
|
||||||
'/users/news/statuses/' + postId
|
'/users/news/statuses/' + postId
|
||||||
|
path = path.split('/editnewspost=')[0]
|
||||||
print('TEST path: ' + path)
|
print('TEST path: ' + path)
|
||||||
print('TEST postUrl: ' + postUrl)
|
print('TEST postUrl: ' + postUrl)
|
||||||
msg = htmlEditNewsPost(translate, baseDir,
|
msg = htmlEditNewsPost(translate, baseDir,
|
||||||
|
|
|
@ -1357,9 +1357,6 @@ def htmlEditNewsPost(translate: {}, baseDir: str, path: str,
|
||||||
return ''
|
return ''
|
||||||
print('TEST htmlEditNewsPost 2: ')
|
print('TEST htmlEditNewsPost 2: ')
|
||||||
pathOriginal = path
|
pathOriginal = path
|
||||||
path = path.replace('/inbox', '').replace('/outbox', '')
|
|
||||||
path = path.replace('/shares', '')
|
|
||||||
path = path.replace('/tlnews', '')
|
|
||||||
|
|
||||||
nickname = getNicknameFromActor(path)
|
nickname = getNicknameFromActor(path)
|
||||||
print('TEST htmlEditNewsPost 3: ' + str(nickname))
|
print('TEST htmlEditNewsPost 3: ' + str(nickname))
|
||||||
|
|
Loading…
Reference in New Issue