diff options
| author | Fulgen301 <tokmajigeorge@gmailc.om> | 2016-12-08 15:20:21 +0100 |
|---|---|---|
| committer | Fulgen301 <tokmajigeorge@gmailc.om> | 2016-12-08 15:20:21 +0100 |
| commit | a537ce72e47d4598fb4fb5d914751b836d76607e (patch) | |
| tree | 190a25fc82b018ed81fbd629b075647e1ce07919 | |
| parent | e00f82325d0e8d6c6fdfc2decd340aa1dfccc00f (diff) | |
| download | pycrctrl-a537ce72e47d4598fb4fb5d914751b836d76607e.tar.gz pycrctrl-a537ce72e47d4598fb4fb5d914751b836d76607e.zip | |
Fix syntax error.
| -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) |
