mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Debug/Info level log messages are noisy for the null-client.
This commit is contained in:
parent
3d26049aeb
commit
47406335ac
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ deluge-shell: Deluge shell.
|
||||||
import deluge.ui.client as client
|
import deluge.ui.client as client
|
||||||
import deluge.common as common
|
import deluge.common as common
|
||||||
import readline
|
import readline
|
||||||
|
import logging
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -280,6 +281,7 @@ commands = {
|
||||||
'del' : CommandRemove(),
|
'del' : CommandRemove(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logging.disable(logging.ERROR)
|
||||||
client.set_core_uri("http://localhost:58846")
|
client.set_core_uri("http://localhost:58846")
|
||||||
|
|
||||||
class NullUI:
|
class NullUI:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue