From 24bd1d2e2696f550fc5203297323d38154f70d37 Mon Sep 17 00:00:00 2001 From: homeofpoe <1144217+homeofpoe@users.noreply.github.com> Date: Tue, 25 Oct 2022 09:09:11 -0700 Subject: [PATCH] Update evform.py Fixes uncommented lines. --- evennia/utils/evform.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/evennia/utils/evform.py b/evennia/utils/evform.py index fa55e6b95b..7316903bbd 100644 --- a/evennia/utils/evform.py +++ b/evennia/utils/evform.py @@ -61,8 +61,9 @@ Use as follows: # create a new form from the template form = EvForm("path/to/testform.py") - (EvForm can also take a dictionary holding - the required keys FORMCHAR, TABLECHAR and FORM) + # EvForm can also take a dictionary instead of a filepath, as long + # as the dict contains the keys FORMCHAR, TABLECHAR and FORM + # form = EvForm(form=form_dict) # add data to each tagged form cell form.map(cells={1: "Tom the Bouncer",