Commit daca850d authored by Mario Chirinos's avatar Mario Chirinos

load news

parent d196de4b
...@@ -46,7 +46,7 @@ class Command(BaseCommand): ...@@ -46,7 +46,7 @@ class Command(BaseCommand):
newPublisher.url=cfgfile["url"] newPublisher.url=cfgfile["url"]
newPublisher.type="texto" newPublisher.type="texto"
newPublisher.save() newPublisher.save()
publisher = Publisher.objects.get(shortName=p)[0] publisher = Publisher.objects.get(shortName=p)
else: else:
print("settings.json not found") print("settings.json not found")
else: else:
......
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