Skip to content

Commit

Permalink
fix: Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Dec 8, 2021
1 parent ef42f21 commit d36cd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_devops/management/commands/update_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d36cd74

Please sign in to comment.