Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
fd5d91c
1
Parent(s): 1d51064
is_final should have self as arguement
Browse files- lishogi.py +1 -1
lishogi.py
CHANGED
|
@@ -41,7 +41,7 @@ class Lishogi():
|
|
| 41 |
self.session.headers.update(self.header)
|
| 42 |
self.set_user_agent("?")
|
| 43 |
|
| 44 |
-
def is_final(
|
| 45 |
return isinstance(exception, HTTPError) and exception.response.status_code < 500
|
| 46 |
|
| 47 |
(RemoteDisconnected, ConnectionError, ProtocolError, HTTPError),
|
|
|
|
| 41 |
self.session.headers.update(self.header)
|
| 42 |
self.set_user_agent("?")
|
| 43 |
|
| 44 |
+
def is_final(self):
|
| 45 |
return isinstance(exception, HTTPError) and exception.response.status_code < 500
|
| 46 |
|
| 47 |
(RemoteDisconnected, ConnectionError, ProtocolError, HTTPError),
|