Skip to content

Commit

Permalink
Update Python.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion authored Jan 8, 2024
1 parent 0b7d3cd commit 85b4fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hxpy/Python.hx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extern class Python
* Function for loading Python code from a file.
* @param filetoParse The path of your Python script. (eg: script.py)
*/
public static inline function runSimpleFile(filetoParse:String):Void; {
public static inline function runSimpleFile(filetoParse:String):Void {
untyped __cpp__('
PyObject *obj = Py_BuildValue("s", filetoParse.c_str());
FILE* PScriptFile = _Py_fopen_obj(obj, "r+");
Expand Down

0 comments on commit 85b4fe6

Please sign in to comment.