diff options
| author | 2018-12-10 13:34:53 +0000 | |
|---|---|---|
| committer | 2018-12-10 13:34:53 +0000 | |
| commit | 312293b221f0585356ce46fd5ce197a0240a6bad (patch) | |
| tree | 7971df77ef928de85c0132516e3cd6df36731744 /src/IRCBot.py | |
| parent | Put logging functionality on to it's own thread (diff) | |
| signature | ||
Make `block` param of queue.get() explicitly refer to `block`
Diffstat (limited to 'src/IRCBot.py')
| -rw-r--r-- | src/IRCBot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py index e2c5f899..6caf720b 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -49,7 +49,7 @@ class Bot(object): self.lock.release() self._trigger_client.send(b"TRIGGER") - type, returned = func_queue.get(True) + type, returned = func_queue.get(block=True) if type == TRIGGER_EXCEPTION: raise returned elif type == TRIGGER_RETURN: |
