Fix invalid string formatting

This commit is contained in:
Labrys of Knossos 2022-12-14 03:19:05 -05:00
commit 3808564b6f

View file

@ -277,9 +277,7 @@ def backup_versioned_file(old_file, version):
try: try:
logger.log( logger.log(
'Trying to back up {old} to {new]'.format( f'Trying to back up {old_file} to {new_file}',
old=old_file, new=new_file,
),
logger.DEBUG, logger.DEBUG,
) )
shutil.copy(old_file, new_file) shutil.copy(old_file, new_file)