mirror of
https://github.com/NohamR/Ratio.py.git
synced 2025-05-24 00:38:57 +00:00
Fix print when torrent contain multiple files
This commit is contained in:
parent
a2771299be
commit
3631efc4fa
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user