Trivial fix of bare except clause
This commit is contained in:
parent
f3289a47c3
commit
8bba1541a1
@ -24,7 +24,7 @@ def connection_successful():
|
|||||||
try:
|
try:
|
||||||
Client()
|
Client()
|
||||||
return True
|
return True
|
||||||
except:
|
except Exception:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user