mirror of https://gitlab.com/bashrc2/epicyon
Wait for session
parent
29c8332741
commit
99a4b65467
2
inbox.py
2
inbox.py
|
@ -2348,6 +2348,8 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
if not session or currTime - sessionLastUpdate > 1200:
|
if not session or currTime - sessionLastUpdate > 1200:
|
||||||
print('Creating inbox session')
|
print('Creating inbox session')
|
||||||
session = createSession(useTor)
|
session = createSession(useTor)
|
||||||
|
if not session:
|
||||||
|
continue
|
||||||
sessionLastUpdate = currTime
|
sessionLastUpdate = currTime
|
||||||
|
|
||||||
# oldest item first
|
# oldest item first
|
||||||
|
|
Loading…
Reference in New Issue