From 7b1992745398e6ea66eac436a20dbb48880f329a Mon Sep 17 00:00:00 2001 From: drew2a Date: Wed, 7 Sep 2022 16:34:44 +0200 Subject: [PATCH] Change string interpolation type --- .../core/components/libtorrent/download_manager/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tribler/core/components/libtorrent/download_manager/download.py b/src/tribler/core/components/libtorrent/download_manager/download.py index 95ffa115740..85e1239d2d7 100644 --- a/src/tribler/core/components/libtorrent/download_manager/download.py +++ b/src/tribler/core/components/libtorrent/download_manager/download.py @@ -24,7 +24,7 @@ from tribler.core.utilities.notifier import Notifier from tribler.core.utilities.osutils import fix_filebasename from tribler.core.utilities.path_util import Path -from tribler.core.utilities.simpledefs import DLSTATUS_SEEDING, DLSTATUS_STOPPED, DOWNLOAD, NTFY +from tribler.core.utilities.simpledefs import DLSTATUS_SEEDING, DLSTATUS_STOPPED, DOWNLOAD from tribler.core.utilities.unicode import ensure_unicode, hexlify from tribler.core.utilities.utilities import bdecode_compat @@ -269,7 +269,7 @@ def on_save_resume_data_alert(self, alert): Callback for the alert that contains the resume data of a specific download. This resume data will be written to a file on disk. """ - self._logger.debug(f'On save resume data alert: {alert}') + self._logger.debug(f'On save resume data alert: %s', alert) if self.checkpoint_disabled: return