Commit 2d70c180 authored by Mario Chirinos's avatar Mario Chirinos

update.sh

parent 1905bf72
......@@ -54,7 +54,7 @@ class Command(BaseCommand):
publisherList = os.listdir(options['basedir'][0])
for p in publisherList:
print (p)
os.chdir(options['basedir'][0])
os.chdir(p)
publisher = Publisher.objects.all().filter(shortName=p)
if publisher.count()<=0 and os.path.isfile(p+"/settings.json") :
......
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