@ -353,7 +353,7 @@ class PublicRelations(Bureau):
# store the last notification id
self.last_mast_notif = notifications[0].id
with self.dbenv.begin(db=self.tweetdb, write=True) as txn:
txn.put(b"last_mast_notif", self.last_mast_notif.encode())
txn.put(b"last_mast_notif", self.last_mast_notif)
for note in notifications:
username = note.account.display_name.encode("cp437", "ignore") + \
b" (" + note.account.acct.encode("cp437", "ignore") + b")"