Skip to content

Commit

Permalink
Update src/tribler/core/components/libtorrent/torrentdef.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Kozlovsky <alexander.kozlovsky@gmail.com>
  • Loading branch information
drew2a and kozlovsky authored Jan 15, 2024
1 parent 8be7dc2 commit 4443d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tribler/core/components/libtorrent/torrentdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4443d28

Please sign in to comment.