mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-04 19:52:33 +00:00
Move function
This commit is contained in:
1 parent
d60173def4
commit
4c644b1d1f
2 files changed
+8
-8
No files matched your search
@@ -2191,6 +2191,14 @@ def populateRepliesJson(baseDir: str,nickname: str,domain: str, \
|
||||
'https://www.w3.org/ns/activitystreams#Public' in postJsonObject['object']['to']:
|
||||
repliesJson['orderedItems'].append(postJsonObject)
|
||||
|
||||
def rejectAnnounce(announceFilename: str):
|
||||
"""Marks an announce as rejected
|
||||
"""
|
||||
if not os.path.isfile(announceFilename+'.reject'):
|
||||
rejectAnnounceFile=open(announceFilename+'.reject', "w+")
|
||||
rejectAnnounceFile.write('\n')
|
||||
rejectAnnounceFile.close()
|
||||
|
||||
def downloadAnnounce(session,baseDir: str,httpPrefix: str,nickname: str,domain: str,postJsonObject: {},projectVersion: str) -> {}:
|
||||
"""Download the post referenced by an announce
|
||||
"""
|
||||
|
||||
@@ -1613,14 +1613,6 @@ def insertQuestion(translate: {}, \
|
||||
content+='</form></div>'
|
||||
return content
|
||||
|
||||
def rejectAnnounce(announceFilename: str):
|
||||
"""Marks an announce as rejected
|
||||
"""
|
||||
if not os.path.isfile(announceFilename+'.reject'):
|
||||
rejectAnnounceFile=open(announceFilename+'.reject', "w+")
|
||||
rejectAnnounceFile.write('\n')
|
||||
rejectAnnounceFile.close()
|
||||
|
||||
def addEmojiToDisplayName(baseDir: str,httpPrefix: str, \
|
||||
nickname: str,domain: str, \
|
||||
displayName: str,inProfileName: bool) -> str:
|
||||
|
||||
Reference in new issue
Block a user