Skip to content

Commit

Permalink
Merge pull request #59 from porn/master
Browse files Browse the repository at this point in the history
Fix downloading PDFs in python3
  • Loading branch information
ej2 authored Jan 19, 2017
2 parents df05967 + 7f6fdd6 commit c46a51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickbooks/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def download_pdf(self, qbbo, item_id):

response = self.session.request("GET", url, True, self.company_id, headers=headers)

if response.status_code is not httplib.OK:
if response.status_code != httplib.OK:
try:
json = response.json()
except:
Expand Down

0 comments on commit c46a51d

Please sign in to comment.