diff options
Diffstat (limited to 'pycrctrl.pyp')
| -rw-r--r-- | pycrctrl.pyp | 8 |
1 files changed, 1 insertions, 7 deletions
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) |
