ActivityResponse's constructor actually stores its parameter.

I don't know how it even could have worked before.
status-serialisers
Marnanel Thurman 2020-09-19 15:00:00 +01:00
rodzic 0a9d266305
commit 197362b2c3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -24,7 +24,7 @@ class ActivityResponse(HttpResponse):
def __init__(self, activity_value):
super().__init__()
self.activity_value = None
self.activity_value = activity_value
def __str__(self):
return '<ActivityResponse, wrapping %s>' % (self.activity_value,)