From a537ce72e47d4598fb4fb5d914751b836d76607e Mon Sep 17 00:00:00 2001 From: Fulgen301 Date: Thu, 8 Dec 2016 15:20:21 +0100 Subject: Fix syntax error. --- pycrctrl.pyp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'pycrctrl.pyp') diff --git a/pycrctrl.pyp b/pycrctrl.pyp index b0568ea..fe76d4b 100644 --- a/pycrctrl.pyp +++ b/pycrctrl.pyp @@ -194,13 +194,7 @@ class PyCRCtrl(object): def host(self, scenario=None) -> str: if scenario == None: - return (CmdResult.SyntaxFail, "Bitte gib einen Szenarionamen an!")"RegExps" : { - "lobbyStartExp" : "((?:Los geht\'s!|Action go!)\\\\s*)", - "startExp" : "^Start!\\\\s*$", - "joinExp" : "^Client (.+) (?:verbunden|connected)\\.\\s*$", - "leaveExp" : "^Client (.+) (?:entfernt|removed)(.*)", - "shutdownExp" : "^Internetspiel ausgewertet(.*)" - } + return (CmdResult.SyntaxFail, "Bitte gib einen Szenarionamen an!") if type(scenario) in [bytes, QByteArray]: try: scenario = self.codec.toUnicode(scenario) -- cgit v1.2.3-54-g00ecf