|
|
@ -359,7 +359,7 @@ class PublicRelations(Bureau):
|
|
|
|
b" (" + note.account.acct.encode("cp437", "ignore") + b")"
|
|
|
|
b" (" + note.account.acct.encode("cp437", "ignore") + b")"
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from ")
|
|
|
|
prn.text(note["type"] + " " + str(note["created_at"]) + " from ")
|
|
|
|
prn._raw(username)
|
|
|
|
prn._raw(username)
|
|
|
|
prn.text(":\r\n" + str(note.status) + "\r\n")
|
|
|
|
prn.text(":\r\n" + str(note["status"]) + "\r\n")
|
|
|
|
with self.dbenv.begin(db=self.tweetdb, write=True) as txn:
|
|
|
|
with self.dbenv.begin(db=self.tweetdb, write=True) as txn:
|
|
|
|
txn.put(shortcode.encode(), tweet_id.encode())
|
|
|
|
txn.put(shortcode.encode(), tweet_id.encode())
|
|
|
|
|
|
|
|
|
|
|
|