Correct charybdis config file path

This commit is contained in:
louiz’
2016-04-22 10:49:07 +02:00
parent 04facc515c
commit 71b3f8f50b
+2 -1
View File
@@ -9,6 +9,7 @@ import atexit
import lxml.etree import lxml.etree
import sys import sys
import io import io
import os
from functools import partial from functools import partial
from slixmpp.xmlstream.matcher.base import MatcherBase from slixmpp.xmlstream.matcher.base import MatcherBase
@@ -184,7 +185,7 @@ class BiboumiRunner(ProcessRunner):
class IrcServerRunner(ProcessRunner): class IrcServerRunner(ProcessRunner):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self.create = asyncio.create_subprocess_exec("charybdis", "-foreground", "-configfile", "../tests/end_to_end/ircd.conf", self.create = asyncio.create_subprocess_exec("charybdis", "-foreground", "-configfile", os.getcwd() + "/../tests/end_to_end/ircd.conf",
stderr=asyncio.subprocess.PIPE) stderr=asyncio.subprocess.PIPE)