alvinlindstam / grapheme

A python package for grapheme aware string handling
MIT License
106 stars 7 forks source link

Error finding grapheme_break_property.json on windows after making executable #22

Open githubpaycon opened 1 year ago

githubpaycon commented 1 year ago

I think the fix would be to change this: with open(os.path.join(os.path.dirname(file), "data/grapheme_break_property.json"), 'r') as f: that's why: with open(os.path.join(os.path.dirname(file), os.path.join("data", "grapheme_break_property.json")), 'r') as f:

Making that change worked fine here.