mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Fixes typo and outdated comment
This commit is contained in:
parent
eae06602a9
commit
455b0c82ea
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,7 @@ from django.core.management.base import BaseCommand
|
|||
from bookwyrm import models
|
||||
|
||||
|
||||
class Commmand(BaseCommand):
|
||||
class Command(BaseCommand):
|
||||
"""command-line options"""
|
||||
|
||||
help = "Repairs an edition that is in a broken state"
|
||||
|
|
|
@ -387,7 +387,6 @@ class Edition(Book):
|
|||
if self.parent_work:
|
||||
return
|
||||
|
||||
# assign this edition to the parent of the duplicate edition
|
||||
new_work = Work.objects.create(title=self.title)
|
||||
new_work.authors.set(self.authors.all())
|
||||
|
||||
|
|
Loading…
Reference in a new issue