diff options
| author | 2019-10-25 14:27:12 +0100 | |
|---|---|---|
| committer | 2019-10-25 14:27:12 +0100 | |
| commit | b3f43a67217b35ae06d7d66bb5b903ebb718661a (patch) | |
| tree | 64fe64a0a8ae442cb1a415d493d36689b652a69b /src | |
| parent | Fix !startvote advice on voting on the started vote (diff) | |
| signature | ||
remove bot.panic() `throw` kwarg
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCBot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py index 607d0dd1..1103dd9c 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -137,7 +137,7 @@ class Bot(object): elif type == TriggerResult.Return: return returned - def panic(self, reason=None, throw=True): + def panic(self, reason=None): callback = None if not reason == None: @@ -326,7 +326,7 @@ class Bot(object): try: loop() except Exception as e: - self.panic("Exception on '%s' thread" % name, throw=False) + self.panic("Exception on '%s' thread" % name) def _write_loop(self): while self._writing: |
