mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
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
|
||||
from evennia import EvForm, EvTable
|
||||
|
||||
# create a new form from the template
|
||||
form = EvForm("path/to/testform.py")
|
||||
# create a new form from the template - do not include the .py of the filename!
|
||||
form = EvForm("path/to/testform")
|
||||
|
||||
# alteratively, you can supply the template as a dict:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue