datatrove icon indicating copy to clipboard operation
datatrove copied to clipboard

Fix languages listify bug

Open BramVanroy opened this issue 4 months ago • 1 comments

If the passed language is a string, it should be turned into a list like this [languages] rather than list(languages). The latter will turn a string into a list of its individual characters.

>>> list("en")
['e', 'n']
>>> ["en"]
['en']

BramVanroy avatar Sep 29 '24 16:09 BramVanroy