From 3808564b6f6aea4cacbab315d364c310c90e4c46 Mon Sep 17 00:00:00 2001 From: Labrys of Knossos Date: Wed, 14 Dec 2022 03:19:05 -0500 Subject: [PATCH] Fix invalid string formatting --- core/utils/files.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/utils/files.py b/core/utils/files.py index ffc11a16..958dd263 100644 --- a/core/utils/files.py +++ b/core/utils/files.py @@ -277,9 +277,7 @@ def backup_versioned_file(old_file, version): try: logger.log( - 'Trying to back up {old} to {new]'.format( - old=old_file, new=new_file, - ), + f'Trying to back up {old_file} to {new_file}', logger.DEBUG, ) shutil.copy(old_file, new_file)