persiantools icon indicating copy to clipboard operation
persiantools copied to clipboard

It should be TypeError not ValueError

Open GreatBahram opened this issue 5 years ago • 0 comments

https://github.com/mhajiloo/persiantools/blob/a88112b5955cb8214e84467357bee61cc01242ba/persiantools/utils.py#L7

I think the message should be better than this, since we don't have string type in python. something like "string must be str, not {}".format(string.__class__.__name__)

GreatBahram avatar May 17 '19 15:05 GreatBahram