forked from axiom-team/jaklis
Add nbr of message on bottom too
This commit is contained in:
parent
5c1ccb82ef
commit
cb1703a554
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue