mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
make the deprecation warning on get_stats say that its coming from get_stats
This commit is contained in:
parent
ba6f30dad1
commit
9e10012004
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class Core(component.Component):
|
|||
Deprecated: please use get_session_status()
|
||||
|
||||
"""
|
||||
warnings.warn("Use get_session_status()", DeprecationWarning)
|
||||
warnings.warn("Use get_session_status() instead of get_stats()", DeprecationWarning)
|
||||
stats = self.get_session_status(["payload_download_rate", "payload_upload_rate",
|
||||
"dht_nodes", "has_incoming_connections", "download_rate", "upload_rate"])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue