We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211b728 commit e5187eeCopy full SHA for e5187ee
htpclient/initialize.py
@@ -188,13 +188,13 @@ def __check_token(self, args):
188
189
def __check_cert(self, args):
190
cert = self.config.get_value('cert')
191
- if cert is None:
+ if not cert:
192
if args.cert is not None:
193
cert = os.path.abspath(args.cert)
194
logging.debug("Setting cert to: " + cert)
195
self.config.set_value('cert', cert)
196
197
- if cert is not None:
+ if cert:
198
Session().s.cert = cert
199
logging.debug("Configuration session cert to: " + cert)
200
0 commit comments