Fixes typo and outdated comment

This commit is contained in:
Mouse Reeve 2023-08-01 20:53:06 -07:00
parent eae06602a9
commit 455b0c82ea
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,7 @@ from django.core.management.base import BaseCommand
from bookwyrm import models from bookwyrm import models
class Commmand(BaseCommand): class Command(BaseCommand):
"""command-line options""" """command-line options"""
help = "Repairs an edition that is in a broken state" help = "Repairs an edition that is in a broken state"

View file

@ -387,7 +387,6 @@ class Edition(Book):
if self.parent_work: if self.parent_work:
return return
# assign this edition to the parent of the duplicate edition
new_work = Work.objects.create(title=self.title) new_work = Work.objects.create(title=self.title)
new_work.authors.set(self.authors.all()) new_work.authors.set(self.authors.all())