diff --git a/ox/torrent/bencode3.py b/ox/torrent/bencode3.py index 1ed68fa..0b7788e 100644 --- a/ox/torrent/bencode3.py +++ b/ox/torrent/bencode3.py @@ -3,8 +3,6 @@ # bencode.py python3 compatable bencode / bdecode # ## -from collections import OrderedDict - class Decoder(object): @@ -54,7 +52,7 @@ class Decoder(object): decode dict from bytearray return dict """ - d = OrderedDict() + d = {} self.idx += 1 while self.data[self.idx] != ord(b'e'): k = self._decode_str()