Skip to content

Commit

Permalink
More stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Nov 6, 2024
1 parent 339dc57 commit 75d46b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lib/pythontarget.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ PyObject* py_package_directory(PyObject* self, PyObject* args) {
PyErr_SetString(PyExc_RuntimeError, "LF_PACKAGE_DIRECTORY constant is not defined.");
return NULL;
#else
return PyUnicode_DecodeFSDefault(LF_PACKAGE_DIRECTORY);
return PyUnicode_DecodeFSDefault(LF_STRINGIFY(LF_PACKAGE_DIRECTORY));
#endif
}

Expand Down

0 comments on commit 75d46b6

Please sign in to comment.