diff --git a/epicyon.py b/epicyon.py index 9c62abad..ae8262f9 100644 --- a/epicyon.py +++ b/epicyon.py @@ -33,12 +33,12 @@ session = createSession(useTor) privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson(username,domain,https,True) setPreferredUsername(username,domain,'badger') setBio(username,domain,'Some personal info') -createPublicPost(username, domain, https, "G'day world!", False, True, None, None, 'Not suitable for Vogons') +#createPublicPost(username, domain, https, "G'day world!", False, True, None, None, 'Not suitable for Vogons') #runDaemon(domain,port,federationList,useTor) #testHttpsig() -sys.exit() +#sys.exit() #pprint(person) #print('\n') diff --git a/posts.py b/posts.py index 8b3c5e04..054d9cbb 100644 --- a/posts.py +++ b/posts.py @@ -45,12 +45,12 @@ def parseUserFeed(session,feedUrl,asHeader) -> None: pprint(feedJson) if 'orderedItems' in feedJson: - for item in feed['orderedItems']: + for item in feedJson['orderedItems']: yield item nextUrl = None if 'first' in feedJson: - nextUrl = feed['first'] + nextUrl = feedJson['first'] elif 'next' in feedJson: nextUrl = feedJson['next']