Fix traceback due to missing settings.CHANNEL_CONNECTINFO; added the missing setting (with a None value). Resolves #1177.
This commit is contained in:
parent
c6d9c0619e
commit
92ec6a5ae8
2 changed files with 5 additions and 2 deletions
|
|
@ -304,9 +304,9 @@ class ServerSession(Session):
|
|||
in addition to the server log.
|
||||
|
||||
"""
|
||||
if channel:
|
||||
cchan = channel and settings.CHANNEL_CONNECTINFO
|
||||
if cchan:
|
||||
try:
|
||||
cchan = settings.CHANNEL_CONNECTINFO
|
||||
cchan = ChannelDB.objects.get_channel(cchan[0])
|
||||
cchan.msg("[%s]: %s" % (cchan.key, message))
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue