def add_file(self, file):
# Called when artist receives a sync request file
if file not in self.requested_files and self.app.chat_client:
print "Adding file" + file
self.app.chat_client.send_sync(constants.SYNC_REQUEST_FILE, file)
else:
print "Chat client not connected"
print self.requested_files
评论列表
文章目录