mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
221bf8e4b8
commit
5a9727ecf9
|
@ -1103,6 +1103,10 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
else:
|
else:
|
||||||
postIndexStr = commandStr.split('read ')[1]
|
postIndexStr = commandStr.split('read ')[1]
|
||||||
if boxJson and postIndexStr.isdigit():
|
if boxJson and postIndexStr.isdigit():
|
||||||
|
_desktopShowBox(currTimeline, boxJson,
|
||||||
|
screenreader, systemLanguage,
|
||||||
|
espeak, pageNumber,
|
||||||
|
newRepliesExist, newDMsExist)
|
||||||
postIndex = int(postIndexStr)
|
postIndex = int(postIndexStr)
|
||||||
postJsonObject = \
|
postJsonObject = \
|
||||||
_readLocalBoxPost(session, nickname, domain,
|
_readLocalBoxPost(session, nickname, domain,
|
||||||
|
@ -1634,11 +1638,6 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
if refreshTimeline:
|
if refreshTimeline:
|
||||||
boxJson = c2sBoxJson(baseDir, session,
|
|
||||||
nickname, password,
|
|
||||||
domain, port, httpPrefix,
|
|
||||||
currTimeline, pageNumber,
|
|
||||||
debug)
|
|
||||||
if boxJson:
|
if boxJson:
|
||||||
_desktopShowBox(currTimeline, boxJson,
|
_desktopShowBox(currTimeline, boxJson,
|
||||||
screenreader, systemLanguage,
|
screenreader, systemLanguage,
|
||||||
|
|
Loading…
Reference in New Issue