mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Some more cleanup of paths for batchprocessors
This commit is contained in:
parent
3848a789a7
commit
e399c418e5
2 changed files with 15 additions and 7 deletions
|
|
@ -186,11 +186,12 @@ CODE_INFO_HEADER = re.compile(r"\(.*?\)")
|
|||
def read_batchfile(pythonpath, file_ending='.py'):
|
||||
"""
|
||||
This reads the contents of a batch-file.
|
||||
Filename is considered to be the name of the batch file
|
||||
Filename is considered to be a python path to a batch file
|
||||
relative the directory specified in settings.py.
|
||||
|
||||
file_ending specify which batchfile ending should be
|
||||
assumed (.ev or .py).
|
||||
assumed (.ev or .py). The ending should not be included
|
||||
in the python path.
|
||||
"""
|
||||
|
||||
# open the file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue