about summary refs log tree commit diff stats
path: root/src/instances/get_instances.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/instances/get_instances.py')
-rw-r--r--src/instances/get_instances.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py
index 07adbceb..eab4a924 100644
--- a/src/instances/get_instances.py
+++ b/src/instances/get_instances.py
@@ -92,7 +92,7 @@ def is_authenticate(url):
 def is_offline(url):
     try:
         r = requests.get(url, timeout=5)
-        if r.status_code != 200:
+        if r.status_code >= 400:
             print(url + ' is ' + Fore.RED + 'offline' + Style.RESET_ALL)
             print("Status code")
             print(r.status_code)