Inbox.send should have a self
param
This commit is contained in:
parent
863ce32cda
commit
95d67199ff
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Outbox(object):
|
||||||
class Inbox(object):
|
class Inbox(object):
|
||||||
def __init__(self, url):
|
def __init__(self, url):
|
||||||
self._url = 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)
|
now = email.utils.formatdate(timeval=None, localtime=False, usegmt=True)
|
||||||
parts = urllib.parse.urlparse(self._url)
|
parts = urllib.parse.urlparse(self._url)
|
||||||
headers = [
|
headers = [
|
||||||
|
|
Loading…
Reference in a new issue