Remove assignment operator

This commit is contained in:
Yamakaky 2021-04-16 10:59:05 +02:00 committed by Mikaël Fourrier
parent a3753314e8
commit 00bf399c9a

View file

@ -62,7 +62,8 @@ def get_session():
Function to return a valid Bitwarden session Function to return a valid Bitwarden session
""" """
# Check for an existing, user-supplied Bitwarden session # Check for an existing, user-supplied Bitwarden session
if (session := os.environ.get('BW_SESSION')) is not None: session = os.environ.get('BW_SESSION')
if session is not None:
logging.debug('Existing Bitwarden session found') logging.debug('Existing Bitwarden session found')
return session return session