Update evform.py
Clarify file path not including .py
This commit is contained in:
parent
0bde1a034b
commit
41465bf01a
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ Usage
|
||||||
```python
|
```python
|
||||||
from evennia import EvForm, EvTable
|
from evennia import EvForm, EvTable
|
||||||
|
|
||||||
# create a new form from the template
|
# create a new form from the template - do not include the .py of the filename!
|
||||||
form = EvForm("path/to/testform.py")
|
form = EvForm("path/to/testform")
|
||||||
|
|
||||||
# alteratively, you can supply the template as a dict:
|
# alteratively, you can supply the template as a dict:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue