diff --git a/caveclient/jsonservice.py b/caveclient/jsonservice.py index c6a0f5d1..cf1aba63 100644 --- a/caveclient/jsonservice.py +++ b/caveclient/jsonservice.py @@ -233,7 +233,7 @@ def upload_state_json( ), ) handle_response(response, as_json=False) - response_re = re.search(".*\/(\d+)", str(response.content)) + response_re = re.search(r".*\/(\d+)", str(response.content)) return int(response_re.groups()[0]) @_check_version_compatibility(">=0.4.0") @@ -289,7 +289,7 @@ def upload_property_json( data=data, ) handle_response(response, as_json=False) - response_re = re.search(".*\/(\d+)", str(response.content)) + response_re = re.search(r".*\/(\d+)", str(response.content)) return int(response_re.groups()[0]) def save_state_json_local(