Skip to content

Commit

Permalink
Merge pull request #613 from wilsonc86/patch-1
Browse files Browse the repository at this point in the history
Update views.py - disable verify SSL cert for Wildlife Licensing Payment reports
  • Loading branch information
dbca-asi authored May 15, 2019
2 parents f032bdf + 00cea40 commit 36f9947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wildlifelicensing/apps/payments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def get(self, request):
response = requests.get(url,
headers=JSON_REQUEST_HEADER_PARAMS,
cookies=request.COOKIES,
params=data)
params=data,
verify=False)
if response.status_code == 200:
filename = 'wl_payments-{}_{}'.format(
str(start.date()),
Expand Down

0 comments on commit 36f9947

Please sign in to comment.