Skip to content

Commit

Permalink
Remove version check
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann committed Jul 5, 2024
1 parent 3347748 commit 078eb1e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mod/python.mod/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,10 @@ static int python_expmem()

// TODO: Do we really have to exit eggdrop on module load failure?
static char *init_python() {
static char s[41];
PyObject *pmodule;
PyStatus status;
PyConfig config;

if (PY_VERSION_HEX < 0x03080000) {
snprintf(s, sizeof s, "Python version %x is lower than 3.8", PY_VERSION_HEX);
return s;
}
PyConfig_InitPythonConfig(&config);
config.install_signal_handlers = 0;
config.parse_argv = 0;
Expand Down

0 comments on commit 078eb1e

Please sign in to comment.