mirror of https://github.com/progval/irctest.git
Make Sopel quiet and remove warning.
This commit is contained in:
parent
100efc7b67
commit
4e57b793a3
|
@ -37,7 +37,6 @@ class SopelController(BaseClientController):
|
||||||
mode)
|
mode)
|
||||||
|
|
||||||
def create_config(self):
|
def create_config(self):
|
||||||
self.directory = tempfile.TemporaryDirectory()
|
|
||||||
with self.open_file(self.filename) as fd:
|
with self.open_file(self.filename) as fd:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -53,7 +52,7 @@ class SopelController(BaseClientController):
|
||||||
password=auth.password if auth else '',
|
password=auth.password if auth else '',
|
||||||
auth_method='auth_method = sasl' if auth else '',
|
auth_method='auth_method = sasl' if auth else '',
|
||||||
))
|
))
|
||||||
self.proc = subprocess.Popen(['sopel', '-c', self.filename])
|
self.proc = subprocess.Popen(['sopel', '--quiet', '-c', self.filename])
|
||||||
|
|
||||||
def get_irctest_controller_class():
|
def get_irctest_controller_class():
|
||||||
return SopelController
|
return SopelController
|
||||||
|
|
Loading…
Reference in New Issue