Revision daeb288f logic/dispatcher.py
b/logic/dispatcher.py | ||
---|---|---|
125 | 125 |
bindings = settings.BINDINGS |
126 | 126 |
|
127 | 127 |
# Special queue for debugging, should not appear in production |
128 |
if self.debug: |
|
128 |
if self.debug and settings.DEBUG:
|
|
129 | 129 |
self.chan.queue_declare(queue=settings.QUEUE_DEBUG, durable=True, |
130 | 130 |
exclusive=False, auto_delete=False) |
131 | 131 |
bindings += settings.BINDINGS_DEBUG |
Also available in: Unified diff