Fixed the loading of the menu_login contrib, doing some cleanup in the error reporting at the same time. Also added evennia to the search path for cmdsets and typeclasses so that one can give the path to e.g contrib when loading.

This commit is contained in:
Griatch 2015-05-17 00:49:41 +02:00
parent e37079aa5b
commit 64c6d06d0f
4 changed files with 13 additions and 18 deletions

View file

@ -66,7 +66,7 @@ def cmdparser(raw_string, cmdset, caller, match_index=None):
return (cmdname, args, cmdobj, cmdlen, mratio)
if not raw_string:
return None
return []
matches = []