diff --git a/django_devops/management/commands/update_services.py b/django_devops/management/commands/update_services.py index 7729578..a89da8c 100644 --- a/django_devops/management/commands/update_services.py +++ b/django_devops/management/commands/update_services.py @@ -82,7 +82,7 @@ def handle(self, *args, **options): file_content_old = file.read() file.close() - if file_content != file_content_old: f + if file_content != file_content_old: with(open(f'{deploy_path}{filename}.old', 'w', encoding='UTF-8')) as file: file.write(file_content_old) file.close()