diff options
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ def iri_to_actor(iri): actorfile = f'users/{quote_plus(iri)}' if not isfile(actorfile): with open(actorfile, 'w') as f: - resp = get(iri, headers={'Accept': 'application/activity+json'}) + resp = get(iri.removesuffix('#main-key'), headers={'Accept': 'application/activity+json'}) f.write(resp.text) with open(actorfile) as f: return load(f) |