- if 'private' not in info:
- torrent_error('Info absent')
- data = str(info['private'])
+ if torrent_filename == '.META/private':
+ if 'private' not in info:
+ torrent_error('Info absent')
+ if torrent_filename == '.META/piece length':
+ if 'piece length' not in info:
+ torrent_error('Info absent')
+ data = str(info[torrent_filename[len('.META/'):]])