mirror of https://gitlab.com/bashrc2/epicyon
Less verbose
parent
a4b7b921de
commit
f074349ab2
|
@ -13941,7 +13941,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
"editblogpost", "newreminder", "newevent")
|
"editblogpost", "newreminder", "newevent")
|
||||||
for currPostType in postTypes:
|
for currPostType in postTypes:
|
||||||
if not authorized:
|
if not authorized:
|
||||||
print('POST was not authorized')
|
if self.server.debug:
|
||||||
|
print('POST was not authorized')
|
||||||
break
|
break
|
||||||
|
|
||||||
postRedirect = self.server.defaultTimeline
|
postRedirect = self.server.defaultTimeline
|
||||||
|
|
3
inbox.py
3
inbox.py
|
@ -2868,7 +2868,8 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
if not pubKey:
|
if not pubKey:
|
||||||
print('Queue: public key could not be obtained from ' + keyId)
|
if debug:
|
||||||
|
print('Queue: public key could not be obtained from ' + keyId)
|
||||||
if os.path.isfile(queueFilename):
|
if os.path.isfile(queueFilename):
|
||||||
os.remove(queueFilename)
|
os.remove(queueFilename)
|
||||||
if len(queue) > 0:
|
if len(queue) > 0:
|
||||||
|
|
Loading…
Reference in New Issue