Fix print when torrent contain multiple files

This commit is contained in:
Mister Daneel authored and GitHub committed 2019-04-19 19:58:30 +02:00
1 parent a2771299be
commit 3631efc4fa
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class process_torrent():
self.info['length'] = 0 self.info['length'] = 0
for file in self.info['files']: for file in self.info['files']:
self.info['length'] += file['length'] self.info['length'] += file['length']
print(pretty_data(self.info['files'])) print(pretty_data(self.info['files']))
def tracker_info_hash(self): def tracker_info_hash(self):
raw_info = self.b_enc.get_dict('info') raw_info = self.b_enc.get_dict('info')