mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Remove *pyc files for both actions
This commit is contained in:
@@ -216,8 +216,8 @@ class DeployCommand(Command):
|
||||
)
|
||||
os.mkdir("%s/media" % path)
|
||||
|
||||
os.unlink("%s/settings.pyc" % path)
|
||||
if parsed_args.dbaction == "install":
|
||||
os.unlink("%s/settings.pyc" % path)
|
||||
self._exec_django_command(
|
||||
"syncdb", parsed_args.name, '--noinput'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user