Fix formatting

This commit is contained in:
Andrew Resch 2008-02-22 09:11:40 +00:00
parent 5aa3bfd16d
commit 5cb5ce15d6

View File

@ -246,24 +246,24 @@ class Torrent:
"save_path": self.save_path,
"files": self.files,
"file_priorities": self.file_priorities,
"compact":self.compact,
"max_connections":self.max_connections,
"max_upload_slots":self.max_upload_slots,
"max_upload_speed":self.max_upload_speed,
"max_download_speed":self.max_download_speed,
"prioritize_first_last":self.prioritize_first_last,
"private":self.private
"compact": self.compact,
"max_connections": self.max_connections,
"max_upload_slots": self.max_upload_slots,
"max_upload_speed": self.max_upload_speed,
"max_download_speed": self.max_download_speed,
"prioritize_first_last": self.prioritize_first_last,
"private": self.private
}
fns = {
"name" : self.torrent_info.name,
"total_size" : self.torrent_info.total_size,
"num_files" : self.torrent_info.num_files,
"num_pieces" : self.torrent_info.num_pieces,
"piece_length" : self.torrent_info.piece_length,
"eta" : self.get_eta,
"ratio" : self.get_ratio,
"file_progress" : self.handle.file_progress
"name": self.torrent_info.name,
"total_size": self.torrent_info.total_size,
"num_files": self.torrent_info.num_files,
"num_pieces": self.torrent_info.num_pieces,
"piece_length": self.torrent_info.piece_length,
"eta": self.get_eta,
"ratio": self.get_ratio,
"file_progress": self.handle.file_progress
}
self.status = None