Inbox.send should have a self param

This commit is contained in:
jesopo 2019-09-15 11:49:53 +01:00
parent 863ce32cda
commit 95d67199ff

View file

@ -39,7 +39,7 @@ class Outbox(object):
class Inbox(object):
def __init__(self, url):
self._url = url
def send(activity, private_key):
def send(self, activity, private_key):
now = email.utils.formatdate(timeval=None, localtime=False, usegmt=True)
parts = urllib.parse.urlparse(self._url)
headers = [