mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing paypalapi to check if api_ca_certs is false.
This commit is contained in:
parent
0478ef0f1b
commit
b46413a078
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ backend gunicorn
|
|||
backend gunicorn_counts
|
||||
balance roundrobin
|
||||
option httpchk GET /_haproxychk
|
||||
server gunicorndebug 127.0.0.1:8000 check inter 2000ms
|
||||
server gunicorndebug 127.0.0.1:8000 check inter 600000ms
|
||||
|
||||
backend maintenance
|
||||
option httpchk HEAD /maintenance HTTP/1.1\r\nHost:\ www
|
||||
|
|
2
vendor/paypalapi/settings.py
vendored
2
vendor/paypalapi/settings.py
vendored
|
@ -116,7 +116,7 @@ class PayPalConfig(object):
|
|||
|
||||
# Set the CA_CERTS location. This can either be a None, a bool, or a
|
||||
# string path.
|
||||
if kwargs.get('API_CA_CERTS'):
|
||||
if 'API_CA_CERTS' in kwargs:
|
||||
self.API_CA_CERTS = kwargs['API_CA_CERTS']
|
||||
|
||||
if isinstance(self.API_CA_CERTS, basestring) and not os.path.exists(self.API_CA_CERTS):
|
||||
|
|
Loading…
Add table
Reference in a new issue