From bbe38ccb89db1b8fb581117060af102410aa8197 Mon Sep 17 00:00:00 2001 From: Gavin Garcia Date: Mon, 16 Sep 2019 13:56:46 -0700 Subject: [PATCH] Fix or error --- nv_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nv_exporter.py b/nv_exporter.py index ff9ad11..4e17a4d 100644 --- a/nv_exporter.py +++ b/nv_exporter.py @@ -59,7 +59,7 @@ def get(self, path): print(e) retry += 1 else: - if response.status_code == 401 || response.status_code == 408: + if response.status_code == 401 or response.status_code == 408: _login(self._url, self._user, self._pass) retry += 1 else: