forked from mirrors/bookwyrm
Fixes recursive serializer
This commit is contained in:
parent
29df2e0fac
commit
7b27f98e20
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class ActivityObject:
|
|||
# recursively serialize
|
||||
for (k, v) in data.items():
|
||||
try:
|
||||
is_subclass = issubclass(v, ActivityObject)
|
||||
is_subclass = issubclass(type(v), ActivityObject)
|
||||
except TypeError:
|
||||
is_subclass = False
|
||||
if is_subclass:
|
||||
|
|
Loading…
Reference in a new issue