mirror of https://gitlab.com/bashrc2/epicyon
Remove authorized argument
parent
db8e703c40
commit
eb7ed65adb
|
@ -4446,8 +4446,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._set_headers_head(mediaFileType, fileLength,
|
self._set_headers_head(mediaFileType, fileLength,
|
||||||
etag, callingDomain)
|
etag, callingDomain)
|
||||||
|
|
||||||
def _receiveNewPostProcess(self, authorized: bool,
|
def _receiveNewPostProcess(self, postType: str, path: str, headers: {},
|
||||||
postType: str, path: str, headers: {},
|
|
||||||
length: int, postBytes, boundary: str) -> int:
|
length: int, postBytes, boundary: str) -> int:
|
||||||
# Note: this needs to happen synchronously
|
# Note: this needs to happen synchronously
|
||||||
# 0=this is not a new post
|
# 0=this is not a new post
|
||||||
|
@ -4982,7 +4981,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# otherwise any attachments can get mangled if
|
# otherwise any attachments can get mangled if
|
||||||
# other events happen during their decoding
|
# other events happen during their decoding
|
||||||
print('Creating new post from: ' + newPostThreadName)
|
print('Creating new post from: ' + newPostThreadName)
|
||||||
self._receiveNewPostProcess(authorized, postType,
|
self._receiveNewPostProcess(postType,
|
||||||
path, headers, length,
|
path, headers, length,
|
||||||
postBytes, boundary)
|
postBytes, boundary)
|
||||||
return pageNumber
|
return pageNumber
|
||||||
|
|
Loading…
Reference in New Issue