Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed.
This commit is contained in:
parent
adae4f2ec4
commit
cc2b094bc6
5 changed files with 143 additions and 112 deletions
|
|
@ -1226,10 +1226,3 @@ def m_len(target):
|
|||
if inherits_from(target, basestring):
|
||||
return len(ANSI_PARSER.strip_mxp(target))
|
||||
return len(target)
|
||||
|
||||
|
||||
def get_line_editor():
|
||||
"""
|
||||
Get the line editor for this game.
|
||||
"""
|
||||
return variable_from_module(*settings.LINE_EDITOR.rsplit('.', 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue