From 4443d285458a39263ad825df7bb688e55e0c9110 Mon Sep 17 00:00:00 2001 From: Andrei Andreev Date: Mon, 15 Jan 2024 11:24:04 +0100 Subject: [PATCH] Update src/tribler/core/components/libtorrent/torrentdef.py Co-authored-by: Alexander Kozlovsky --- src/tribler/core/components/libtorrent/torrentdef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tribler/core/components/libtorrent/torrentdef.py b/src/tribler/core/components/libtorrent/torrentdef.py index 693ead306eb..293ab4d0e9f 100644 --- a/src/tribler/core/components/libtorrent/torrentdef.py +++ b/src/tribler/core/components/libtorrent/torrentdef.py @@ -325,7 +325,7 @@ def get_name_utf8(self) -> str: """ return escape_as_utf8(self.get_name(), self.get_encoding()) - def set_name(self, name: str): + def set_name(self, name: str) -> None: """ Set the name of this torrent. :param name: The new name of the torrent