Refactored and cleaned up the EvEditor module.

This commit is contained in:
Griatch 2015-07-08 17:44:00 +02:00
parent cc2b094bc6
commit 870c750538
2 changed files with 158 additions and 121 deletions

View file

@ -543,10 +543,10 @@ class CmdDesc(MuxCommand):
if not obj:
return
def load():
def load(caller):
return obj.db.desc or ""
def save():
def save(caller, buf):
"""
Save line buffer to the desc prop. This should
return True if successful and also report its status to the user.