You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If htgettoken is executed with the --nobearertoken option and a --credkey is not given or found in ~/.config then it crashes:
$ htgettoken --nobearertoken
Traceback (most recent call last):
File "/home/duncan/opt/mambaforge/envs/py311/bin/htgettoken", line 1488, in <module>
main()
File "/home/duncan/opt/mambaforge/envs/py311/bin/htgettoken", line 936, in main
fullsecretpath = secretpath.replace("%credkey", credkey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: replace() argument 2 must be str, not None
Oh that just confuses me. I can clearly see the bug and how to fix it, but what I don't see is how it could be triggered by the example in that issue, because that one has a credkey.
If
htgettoken
is executed with the--nobearertoken
option and a--credkey
is not given or found in~/.config
then it crashes:It looks like this was introduced by 48fa256.
The text was updated successfully, but these errors were encountered: