Skip to content

Commit

Permalink
Merge pull request #3 from dmarkey/main
Browse files Browse the repository at this point in the history
Use the correct parameter for country code
  • Loading branch information
gmweaver authored Feb 20, 2025
2 parents 522387f + 78cb342 commit d332259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static PyObject *py_parse_address(PyObject *self, PyObject *args,

if (arg_country != Py_None)
{
country = PyObject_to_string(arg_language);
country = PyObject_to_string(arg_country);
if (country == NULL)
{
goto exit_free_language;
Expand Down

0 comments on commit d332259

Please sign in to comment.