|
@@ -150,7 +150,7 @@ def copy_file(source, destination, backup=True):
|
|
|
try:
|
|
|
shutil.copy(destination, backup_file)
|
|
|
except IOError:
|
|
|
- LOGGER.error("Creating of backup file for %s failed!", source)
|
|
|
+ LOGGER.error("Creating of backup file for %s failed!", destination)
|
|
|
return False
|
|
|
try:
|
|
|
shutil.copy(source, destination)
|