Commit b11a2d1d authored by Mario Chirinos's avatar Mario Chirinos

update.sh

parent a82e321d
......@@ -57,6 +57,7 @@ class Command(BaseCommand):
os.chdir(options['basedir'][0])
os.chdir(p)
publisher = Publisher.objects.all().filter(shortName=p)
print(os.getcwd())
if publisher.count()<=0 and os.path.isfile("settings.json") :
print(p, "do not exsist, crating publisher")
......
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