mirror of https://gitlab.com/bashrc2/epicyon
Less verbose
parent
1a17acd43e
commit
b207d2d674
1
inbox.py
1
inbox.py
|
@ -3048,6 +3048,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
federationList,
|
federationList,
|
||||||
queueJson['postNickname'],
|
queueJson['postNickname'],
|
||||||
debug):
|
debug):
|
||||||
|
if debug:
|
||||||
print('Queue: Update accepted from ' + keyId)
|
print('Queue: Update accepted from ' + keyId)
|
||||||
if os.path.isfile(queueFilename):
|
if os.path.isfile(queueFilename):
|
||||||
os.remove(queueFilename)
|
os.remove(queueFilename)
|
||||||
|
|
4
posts.py
4
posts.py
|
@ -3908,7 +3908,9 @@ def downloadAnnounce(session, baseDir: str, httpPrefix: str,
|
||||||
print('Announce download blocked object: ' +
|
print('Announce download blocked object: ' +
|
||||||
str(postJsonObject['object']))
|
str(postJsonObject['object']))
|
||||||
return None
|
return None
|
||||||
print('Downloading Announce content for ' + postJsonObject['object'])
|
if debug:
|
||||||
|
print('Downloading Announce content for ' +
|
||||||
|
postJsonObject['object'])
|
||||||
announcedJson = \
|
announcedJson = \
|
||||||
getJson(session, postJsonObject['object'], asHeader,
|
getJson(session, postJsonObject['object'], asHeader,
|
||||||
None, projectVersion, httpPrefix, domain)
|
None, projectVersion, httpPrefix, domain)
|
||||||
|
|
Loading…
Reference in New Issue