Commit de5b5a9f authored by Mario Chirinos's avatar Mario Chirinos

update db

parent 2e96c6fb
...@@ -73,7 +73,7 @@ class Command(BaseCommand): ...@@ -73,7 +73,7 @@ class Command(BaseCommand):
newPublisher.type="texto" newPublisher.type="texto"
newPublisher.save() newPublisher.save()
publisher = Publisher.objects.all().filter(shortName=p) publisher = Publisher.objects.all().filter(shortName=p)
else else:
publisher=publisher[0] publisher=publisher[0]
print(publisher) print(publisher)
continue continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment