Skip to content

Commit

Permalink
Merge c3cc46e into 68633d3
Browse files Browse the repository at this point in the history
  • Loading branch information
polyatail committed Nov 15, 2018
2 parents 68633d3 + c3cc46e commit 8d84039
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion potion_client/converter.py
@@ -1,6 +1,11 @@
import calendar
from functools import partial
from json import JSONEncoder, JSONDecoder

try:
from simplejson import JSONEncoder, JSONDecoder
except ImportError:
from json import JSONEncoder, JSONDecoder

from datetime import date, datetime
from six.moves.urllib.parse import urljoin
import six
Expand Down
8 changes: 6 additions & 2 deletions potion_client/links.py
@@ -1,4 +1,8 @@
import json
try:
import simplejson as json
except ImportError:
import json

import re

from requests import Request
Expand Down Expand Up @@ -118,4 +122,4 @@ def __call__(self, *arg, **params):
return PaginatedList(self, params)

response, response_data = self.make_request(data, params)
return response_data
return response_data

0 comments on commit 8d84039

Please sign in to comment.