Functions | |
| def | _patch_python_script (code) |
| def | _patch_qichat_script (code) |
| def | patch (script) |
|
private |
Apply modifications to old version python script
to make it correspond to new behavior format files
Definition at line 45 of file code_patcher.py.
|
private |
Apply modifications to old version qichat script
to make it correspond to new behavior format files
Definition at line 36 of file code_patcher.py.
| def converter.code_patcher.patch | ( | script | ) |
Clean the code contained in script boxes
For now, script boxes can contain Python or QiChat script
:param box: the box that holds the code
:returns: the patched code as a string
Definition at line 14 of file code_patcher.py.