Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
Possibly fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiphoseer committed Oct 23, 2017
1 parent 48546a1 commit 556b688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyBuchaktion/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def save(self, obj, data):
literature_info.update(in_tucan=True)
except Literature.DoesNotExist:
literature_info = Literature.objects.create(
book=book, module=module, source=Literature.TUCAN, in_tucan=True
book=book, module=obj, source=Literature.TUCAN, in_tucan=True
)
ids.append(literature_info.pk)
obj.refresh_from_db(fields=['literature', ])
Expand Down

0 comments on commit 556b688

Please sign in to comment.