command that displays number of blocks

This commit is contained in:
ThomasV 2011-12-04 15:22:25 +03:00
parent 7aada899e7
commit cfaaf34119
1 changed files with 2 additions and 0 deletions

View File

@ -530,6 +530,8 @@ if __name__ == '__main__':
request = "('stop','%s')#"%config.get('server','password')
elif cmd == 'h':
request = "('h','%s')#"%sys.argv[2]
elif cmd == 'b':
request = "('b','')#"
s = socket.socket( socket.AF_INET, socket.SOCK_STREAM)
s.connect((config.get('server','host'), config.getint('server','port')))