diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index aa9495676..01e3e58ec 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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