[microdecision] Archive folder might not exist

This commit is contained in:
Alexandre Aubin 2019-01-30 14:02:45 +01:00
parent 5a9a909c56
commit 8b3e645578

View file

@ -39,6 +39,7 @@ class MyMigration(Migration):
# Update local archives folder permissions, so that
# admin can scp archives out of the server
if os.path.isdir(ARCHIVES_PATH):
chown(ARCHIVES_PATH, uid="admin", gid="root")
def backward(self):