mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
actual fix for status deserialization
This commit is contained in:
parent
4bde389d6b
commit
722f44ac9f
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@ from .import_job import ImportJob, ImportItem
|
|||
from .site import SiteSettings, SiteInvite, PasswordReset
|
||||
|
||||
cls_members = inspect.getmembers(sys.modules[__name__], inspect.isclass)
|
||||
activity_models = {c[1].activity_serializer.__name__: c[0] \
|
||||
activity_models = {c[1].activity_serializer.__name__: c[1] \
|
||||
for c in cls_members if hasattr(c[1], 'activity_serializer')}
|
||||
|
|
Loading…
Reference in a new issue