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