Move globalhandler into utils.containers, make settings format more flexible, default to base typeclass, add helper functions and some more lenient error handling
This commit is contained in:
parent
7c416280a8
commit
098af3caba
8 changed files with 134 additions and 86 deletions
|
|
@ -256,6 +256,7 @@ class DefaultChannel(with_metaclass(TypeclassBase, ChannelDB)):
|
|||
|
||||
try:
|
||||
kwargs['desc'] = kwargs.pop('description', '')
|
||||
kwargs['typeclass'] = kwargs.get('typeclass', cls)
|
||||
obj = create.create_channel(key, *args, **kwargs)
|
||||
|
||||
# Record creator id and creation IP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue