adds a missing fclose()

This commit is contained in:
SuperNovaa41 2023-06-17 16:54:20 -04:00
parent a96b0f6544
commit 381e855da7

View File

@ -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();
} }