mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Fixed a bug in channelhandler if the channel had no desc.
This commit is contained in:
parent
a79108583c
commit
e0d4f6a6c3
2 changed files with 1 additions and 2 deletions
|
|
@ -190,7 +190,7 @@ class ChannelHandler(object):
|
|||
key = channel.key
|
||||
cmd.__doc__ = cmd.__doc__.format(channelkey=key,
|
||||
lower_channelkey=key.strip().lower(),
|
||||
channeldesc=channel.db.desc.strip())
|
||||
channeldesc=channel.attributes.get("desc", default="").strip())
|
||||
self.cached_channel_cmds.append(cmd)
|
||||
self.cached_cmdsets = {}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ import re
|
|||
import cgi
|
||||
from .ansi import *
|
||||
|
||||
import time
|
||||
|
||||
# All xterm256 RGB equivalents
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue