From 6ac45978e83d192fce67b1f5ed95e1f589f276d2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 25 Sep 2020 14:09:20 +0100 Subject: [PATCH] Typo --- epicyon.py | 24 ++++++++++++------------ posts.py | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/epicyon.py b/epicyon.py index f2a9918e..f34f09fa 100644 --- a/epicyon.py +++ b/epicyon.py @@ -15,8 +15,8 @@ from person import deactivateAccount from skills import setSkillLevel from roles import setRole from webfinger import webfingerHandle -#from posts import getPublicPostDomains -#from posts import getPublicPostDomainsBlocked +from posts import getPublicPostDomains +from posts import getPublicPostDomainsBlocked from posts import sendBlockViaServer from posts import sendUndoBlockViaServer from posts import createPublicPost @@ -477,11 +477,11 @@ if args.postDomains: elif args.gnunet: proxyType = 'gnunet' domainList = [] -# domainList = getPublicPostDomains(None, -# baseDir, nickname, domain, -# proxyType, args.port, -# httpPrefix, debug, -# __version__, domainList) + domainList = getPublicPostDomains(None, + baseDir, nickname, domain, + proxyType, args.port, + httpPrefix, debug, + __version__, domainList) for postDomain in domainList: print(postDomain) sys.exit() @@ -516,11 +516,11 @@ if args.postDomainsBlocked: elif args.gnunet: proxyType = 'gnunet' domainList = [] -# domainList = getPublicPostDomainsBlocked(None, -# baseDir, nickname, domain, -# proxyType, args.port, -# httpPrefix, debug, -# __version__, domainList) + domainList = getPublicPostDomainsBlocked(None, + baseDir, nickname, domain, + proxyType, args.port, + httpPrefix, debug, + __version__, domainList) for postDomain in domainList: print(postDomain) sys.exit() diff --git a/posts.py b/posts.py index e98d21e8..b65305b6 100644 --- a/posts.py +++ b/posts.py @@ -3273,7 +3273,7 @@ def getPublicPostDomains(session, baseDir: str, nickname: str, domain: str, return domainList (personUrl, pubKeyId, pubKey, - personId, shaedInbox, + personId, sharedInbox, capabilityAcquisition, avatarUrl, displayName) = getPersonBox(baseDir, session, wfRequest, personCache,