restore-backup: Only extract /etc/zulip once.

This is already handled in the earlier block; there is no need to
extract it twice.
This commit is contained in:
Alex Vandiver 2022-06-09 11:52:02 -07:00 committed by Tim Abbott
parent 1b57669771
commit d8ae270899
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ def restore_backup(tarball_file: IO[bytes]) -> None:
from django.conf import settings
paths = [
("settings", "/etc/zulip"),
# zproject will only be present for development environment backups.
("zproject", os.path.join(settings.DEPLOY_ROOT, "zproject")),
]