Change f-string to old format

This commit is contained in:
n3hrox
2019-10-26 23:01:34 +02:00
parent 2e12af095e
commit 98bafa9968
+3 -1
View File
@@ -372,7 +372,9 @@ class RemoteLOCAL(RemoteBASE):
fails += failure[0]
from_info, to_info = failure[1], failure[2]
operation = failure[3]
msgs += f"Failed to {operation} '{from_info}' to '{to_info}'\n"
msgs += "Failed to {} '{}' to '{}'\n".format(
operation, from_info, to_info
)
if msgs:
logger.exception(msgs)