From 3631efc4fa6a42890426e7bbba960644c8171889 Mon Sep 17 00:00:00 2001 From: Mister Daneel Date: Fri, 19 Apr 2019 19:58:30 +0200 Subject: [PATCH] Fix print when torrent contain multiple files --- code/process_torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/process_torrent.py b/code/process_torrent.py index 055cfec..9d897e1 100644 --- a/code/process_torrent.py +++ b/code/process_torrent.py @@ -32,7 +32,7 @@ class process_torrent(): self.info['length'] = 0 for file in self.info['files']: self.info['length'] += file['length'] - print(pretty_data(self.info['files'])) + print(pretty_data(self.info['files'])) def tracker_info_hash(self): raw_info = self.b_enc.get_dict('info')