diff --git a/printnodeapi/auth.py b/printnodeapi/auth.py index 454ad71..4b4a710 100644 --- a/printnodeapi/auth.py +++ b/printnodeapi/auth.py @@ -119,7 +119,7 @@ def _request(self, method, endpoint, fields=None, request_headers=None): raise Exception('status code: ' + str(response.status_code)) def _is_hundreth(self, hundreth, number): - pattern = str(hundreth) + '\d{2,}' + pattern = str(hundreth) + r'\d{2,}' return bool(re.match(pattern, str(number))) def _fix_unicode(self, json_object):