Closed pento closed 2 years ago
When passing a category ID in the --category filter, the export will fail with the following error message:
--category
Warning: Could not find a category matching 12345.
This PR fixes it by checking if the category is numeric, and casting it to an int.
int
When passing a category ID in the
--category
filter, the export will fail with the following error message:Warning: Could not find a category matching 12345.
This PR fixes it by checking if the category is numeric, and casting it to an
int
.