adds a missing fclose()
This commit is contained in:
parent
a96b0f6544
commit
381e855da7
1
main.cpp
1
main.cpp
@ -42,6 +42,7 @@ void run_schedule_getter(std::string id)
|
|||||||
|
|
||||||
FILE *fd = fopen("get_schedule.py", "r");
|
FILE *fd = fopen("get_schedule.py", "r");
|
||||||
PyRun_SimpleFileEx(fd, "get_schedule.py", 1);
|
PyRun_SimpleFileEx(fd, "get_schedule.py", 1);
|
||||||
|
fclose(fd);
|
||||||
|
|
||||||
Py_Finalize();
|
Py_Finalize();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user