Add nbr of message on bottom too

This commit is contained in:
poka 2020-12-01 07:40:04 +01:00
parent 5c1ccb82ef
commit cb1703a554
2 changed files with 3 additions and 2 deletions

View File

@ -113,7 +113,8 @@ class ReadFromCesium:
continue
print("Objet: " + self.title)
print(self.content)
# pp_json(hits)
print(colored(infoTotal.center(rows, '#'), "yellow"))
def read(self, nbrMsg, outbox):

View File

@ -118,7 +118,7 @@ class ReadLikes:
result = requests.post('{0}/user/profile/_search'.format(self.pod), headers=headers, data=data)
result = json.loads(result.text)['hits']['hits'][0]['_source']
return result
def readLikes(self, profile=False):