fix seafapi.ping
This commit is contained in:
@@ -16,7 +16,7 @@ class SeafileClient:
|
||||
|
||||
def ping(self):
|
||||
try:
|
||||
return self.session.get("%s/ping" % self.api_endpoint()).text == "pong"
|
||||
return self.session.get("%s/ping" % self.api_endpoint()).text == "\"pong\""
|
||||
except:
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user