Debug/Info level log messages are noisy for the null-client.

This commit is contained in:
Sadrul Habib Chowdhury 2008-02-10 11:29:36 +00:00
parent 3d26049aeb
commit 47406335ac
1 changed files with 2 additions and 0 deletions

View File

@ -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: