Skip to content

Commit f3e60c7

Browse files
authored
Merge pull request #27 from tekktrik/main
Fixed pylint issues
2 parents bbb6e0e + fe1c1f8 commit f3e60c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_fona/adafruit_fona_socket.py

Lines changed: 1 addition & 1 deletion
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)