Closed ArtyomShalagin closed 6 years ago
I have published wpm v1.50.2 to PyPi that addresses this. I also see there are other bugs related to loading plain text files. For instance, the text IDs are always the same when loading your own files. I will fix that.
Thanks for reporting!
I've fixed the text IDs in v1.50.3
Launching wpm with
--load filename
results inUnboundLocalError: local variable 'quotes' referenced before assignment
at commandline.py:174. This makes sense becausequotes
really was not assigned at this point. It also seems like the order of arguments is wrong:load_plain_text_quote
takesfilename
as the second argument whileopts.load
is provided as the first argument. After fixing this two things there are no more errors, the text still doesn't load properly but I didn't investigate further. I could probably fix that if the bug gets approved.