mirror of https://gitlab.com/bashrc2/epicyon
Handle without port
parent
d5b7dd97af
commit
dae869b264
|
@ -5960,9 +5960,13 @@ def htmlProfileAfterSearch(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
if searchPortStr.isdigit():
|
if searchPortStr.isdigit():
|
||||||
searchPort = int(searchPortStr)
|
searchPort = int(searchPortStr)
|
||||||
searchDomain = searchDomain.split(':')[0]
|
searchDomain = searchDomain.split(':')[0]
|
||||||
print('DEBUG: Search for handle ' +
|
if searchPort:
|
||||||
str(searchNickname) + '@' + str(searchDomain) + ':' +
|
print('DEBUG: Search for handle ' +
|
||||||
str(searchPort))
|
str(searchNickname) + '@' + str(searchDomain) + ':' +
|
||||||
|
str(searchPort))
|
||||||
|
else:
|
||||||
|
print('DEBUG: Search for handle ' +
|
||||||
|
str(searchNickname) + '@' + str(searchDomain))
|
||||||
if not searchNickname:
|
if not searchNickname:
|
||||||
print('DEBUG: No nickname found in ' + profileHandle)
|
print('DEBUG: No nickname found in ' + profileHandle)
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue