mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Forgot to rename mudform_test.py.
This commit is contained in:
parent
6515e501bb
commit
9b1f376117
2 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ form will raise an error.
|
|||
|
||||
import re
|
||||
import copy
|
||||
from src.utils.ansi import evform
|
||||
from src.utils.ansi import ANSIString
|
||||
from src.utils.evtable import Cell, EvTable
|
||||
from src.utils.utils import all_from_module, to_str, to_unicode
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ class EvForm(object):
|
|||
self.tablechar = tablechar[0] if len(tablechar) > 1 else tablechar
|
||||
|
||||
# split into a list of list of lines. Form can be indexed with form[iy][ix]
|
||||
self.raw_form = to_unicode(datadict.get("FORM", "")).split("\n")
|
||||
self.raw_form = ANSIString(datadict.get("FORM", "")).split("\n")
|
||||
# strip first line
|
||||
self.raw_form = self.raw_form[1:] if self.raw_form else self.raw_form
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue