diff --git a/fishy/version.txt b/fishy/version.txt index aa49d36..3c7d01c 100644 --- a/fishy/version.txt +++ b/fishy/version.txt @@ -1 +1 @@ -0.5.19 \ No newline at end of file +0.5.20 \ No newline at end of file diff --git a/fishy/web/web.py b/fishy/web/web.py index 59de536..2042cdd 100644 --- a/fishy/web/web.py +++ b/fishy/web/web.py @@ -52,7 +52,7 @@ def logout(): def _register_user(): ip = get_ip(GoogleDnsProvider) body = {"ip": ip, "apiversion": apiversion} - response = requests.post(urls.user, json=body) + response = requests.post(urls.user, json=body, timeout=10) result = response.json() return result["uid"]