From 4f8ae2d8a550aa6e26edb130e9814ff6c7cbbe15 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sun, 14 Dec 2014 12:02:51 +0100 Subject: [PATCH] Create media directory at the right location --- modoboa/core/commands/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/core/commands/deploy.py b/modoboa/core/commands/deploy.py index 5343fc561..20e799d94 100644 --- a/modoboa/core/commands/deploy.py +++ b/modoboa/core/commands/deploy.py @@ -214,7 +214,7 @@ class DeployCommand(Command): shutil.copyfile( "%s/urls.py.tpl" % self._templates_dir, "%s/urls.py" % path ) - os.mkdir("%s/media" % path) + os.mkdir("%s/media" % parsed_args.name) os.unlink("%s/settings.pyc" % path) if parsed_args.dbaction == "install":