Fix no title for like getting

This commit is contained in:
poka 2020-12-03 23:45:11 +01:00
parent 5c6bbe1a2e
commit 5479075a1b
2 changed files with 6 additions and 2 deletions

View File

@ -86,8 +86,12 @@ class ReadLikes:
finalPrint['likes'] = []
for i in raw:
issuer = i['_source']['issuer']
# print(issuer)
gProfile = self.getProfile(issuer)
pseudo = gProfile['title']
try:
pseudo = gProfile['title']
except:
pseudo = ''
try:
payTo = gProfile['pubkey']
except:

View File

@ -9,4 +9,4 @@ for i in gcc python3-pip python3-setuptools libpq-dev python3-dev python3-wheel;
done
pip3 install -r requirements.txt
chmod u+x dialog.py
chmod u+x jaklis.py