mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Fix invalid string formatting
This commit is contained in:
parent
d0f0c28198
commit
3808564b6f
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue