Skip to content

Commit fe1c1f8

Browse files
committed
Linted per pre-commit
1 parent bbb6e0e commit fe1c1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_fona/adafruit_fona_socket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def settimeout(self, value: int) -> None:
231231
:param int value: Socket read timeout, in seconds.
232232
"""
233233
if value < 0:
234-
raise Exception("Timeout period should be non-negative.")
234+
raise ValueError("Timeout period should be non-negative.")
235235
self._timeout = value
236236

237237
def gettimeout(self) -> int:

0 commit comments

Comments
 (0)