Skip to content

Commit

Permalink
Merge pull request #15 from becitsthere/master
Browse files Browse the repository at this point in the history
Fix or operator error
  • Loading branch information
becitsthere authored Sep 16, 2019
2 parents 1e93963 + bbe38cc commit 1f7ca1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nv_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1f7ca1e

Please sign in to comment.