mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 21:14:55 +00:00
Fix formatting
This commit is contained in:
parent
5aa3bfd16d
commit
5cb5ce15d6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user