From 58b29be0a6012e6704cd1eb3e4905a73bf93eab5 Mon Sep 17 00:00:00 2001 From: 7sDream <7seconddream@gmail.com> Date: Sat, 23 Jun 2018 13:01:08 +0800 Subject: [PATCH] fix typo hash_fields -> hash_field --- torrent_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent_parser.py b/torrent_parser.py index 942266d..99436c2 100755 --- a/torrent_parser.py +++ b/torrent_parser.py @@ -373,7 +373,7 @@ class BEncoder(object): if hash_fields is not None: self._hash_fields.extend(str_type(hash_fields)) - def hash_fields(self, name): + def hash_field(self, name): """ see :any:`TorrentFileParser.hash_field`