Skip to content

Commit

Permalink
Changing work and edition contributors added those to stories as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Makistos committed Nov 27, 2024
1 parent 63b1132 commit f53df0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/impl_contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def update_edition_contributors(
retval = False
parts = session.query(Part)\
.filter(Part.edition_id == edition.id)\
.filter(Part.shortstory_id is not None)\
.filter(Part.shortstory_id.is_(None))\
.all()
# Create new contributors if needed
contributors = _create_new_contributors(session, contributors)
Expand Down Expand Up @@ -281,7 +281,7 @@ def update_work_contributors(
retval = False
parts = session.query(Part)\
.filter(Part.work_id == work_id)\
.filter(Part.shortstory_id is not None)\
.filter(Part.shortstory_id.is_(None)) \
.all()
# Create new contributors if needed
contributors = _create_new_contributors(session, contributors)
Expand Down

0 comments on commit f53df0d

Please sign in to comment.