Skip to content

Commit

Permalink
reboots more quickly if checker finds no internet
Browse files Browse the repository at this point in the history
  • Loading branch information
o4ugDF54PlqU committed Jul 31, 2021
1 parent 430f0e8 commit ee5222e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ethermine checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

except requests.ConnectionError:
print("error, no internet")
times_to_check -= 1
desired_log.append(False)
except AttributeError:
print("not logged on yet")
Expand Down
1 change: 1 addition & 0 deletions hiveon checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

except requests.ConnectionError:
print("error, no internet")
times_to_check -= 1
desired_log.append(False)
except KeyError:
print("not in pool")
Expand Down

0 comments on commit ee5222e

Please sign in to comment.