rev126, Renamed disable_openssl to use_openssl, Renamed modified Peer command to listModified

This commit is contained in:
HelloZeroNet 2015-04-30 11:49:03 +02:00
parent 099fe575a0
commit 34b7cb0292
5 changed files with 15 additions and 8 deletions

View file

@ -171,6 +171,13 @@ class Peer(object):
return added
# List modified files since the date
# Return: {inner_path: modification date,...}
def listModified(self, since):
response = self.request("listModified", {"since": since})
return response
# Stop and remove from site
def remove(self):
self.log("Removing peer...Connection error: %s, Hash failed: %s" % (self.connection_error, self.hash_failed))