I use https://github.com/mjslabs/bitagent to handle Bitwarden sessions as I got fed up of having to "bw login" constantly.
Bitagent does not set BW_SESSION so this PR modifies the logged_in() func to parse bw status instead of relying on BW_SESSION.
I'm not a python developer so the exception handling etc might need tweaking.
I use https://github.com/mjslabs/bitagent to handle Bitwarden sessions as I got fed up of having to "bw login" constantly. Bitagent does not set BW_SESSION so this PR modifies the logged_in() func to parse bw status instead of relying on BW_SESSION.
I'm not a python developer so the exception handling etc might need tweaking.