Gustaf-C / anki-chinese-support-3

Anki add-on providing support for Chinese study
https://ankiweb.net/shared/info/1752008591
GNU General Public License v3.0
31 stars 8 forks source link

fix bug where `b` and `r` were trimmed from the end of definitions #31

Closed kieranlblack closed 10 months ago

kieranlblack commented 10 months ago

rstrip removes the set of characters provided from the end of the string, the desired behaviour is instead that which is provided by removesuffix.

Closes #29.

Gustaf-C commented 10 months ago

Thanks!