Skip to content

Commit af2b343

Browse files
fallenstephenfin
andauthored
Update git_pw/shell.py
Co-authored-by: Stephen Finucane <stephenfinucane@hotmail.com>
1 parent 7c9e7a7 commit af2b343

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎git_pw/shell.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,17 @@ def cli(
9797
"""
9898
logger.configure_verbosity(debug)
9999

100-
if debug:
100+
if debug is not None:
101101
CONF.debug = debug
102-
if token:
102+
if token is not None:
103103
CONF.token = token
104-
if username:
104+
if username is not None:
105105
CONF.username = username
106-
if password:
106+
if password is not None:
107107
CONF.password = password
108-
if server:
108+
if server is not None:
109109
CONF.server = server
110-
if project:
110+
if project is not None:
111111
CONF.project = project
112112

113113

0 commit comments

Comments
 (0)