Closed nebnola closed 3 years ago
Do you guys understand where this error comes from? I don't see what it has to do with the changes, but are there any further changes I should make?
@nebnola now that #158 is merged, you can rebase.
git remote add upstream https://github.com/tldr-pages/tldr-python-client.git
git fetch upstream main
git rebase upstream/main
git push
Implements the suggestion from issue #156.
I hope I understood your comments correctly. In addition to using
TLDR_LANGUAGE
, I also fixed what I think is an error: https://github.com/tldr-pages/tldr-python-client/blob/f24f81fb01d2b1bb69840bc6f98921fcbd700033/tldr.py#L195-L198 This meant that ifdefault_lang
was inlanguages
, thenlanguages
would get set to[]
, ignoring both variables. If I misunderstood something and this was intended, then feel free of course to change that part back