Changeset 67cefb
- Timestamp:
- 05/24/2016 07:10:52 PM (9 years ago)
- Branches:
- 2.0.x, develop, master
- Children:
- b9f3f5
- Parents:
- 14b576e
- git-author:
- bendikro <bro.devel+deluge@gmail.com> (01/24/2016 12:31:06 PM)
- git-committer:
- bendikro <bro.devel+deluge@gmail.com> (05/24/2016 07:10:52 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/core/torrent.py
r14b576e r67cefb 980 980 self.status_funcs = { 981 981 "active_time": lambda: self.status.active_time, 982 "seeding_time": lambda: self.status.seeding_time, 983 "finished_time": lambda: self.status.finished_time, 982 984 "all_time_download": lambda: self.status.all_time_download, 983 985 "storage_mode": lambda: self.status.storage_mode.name.split("_")[2], # sparse, allocate or compact … … 1009 1011 "save_path": lambda: self.options["download_location"], # Deprecated, use download_location 1010 1012 "download_location": lambda: self.options["download_location"], 1011 "seeding_time": lambda: self.status.seeding_time,1012 1013 "seeds_peers_ratio": lambda: -1.0 if self.status.num_incomplete == 0 else ( # Use -1.0 to signify infinity 1013 1014 self.status.num_complete / self.status.num_incomplete),
Note:
See TracChangeset
for help on using the changeset viewer.