diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index cf920b2..a94d7d8 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -66,7 +66,7 @@ class PublicRelations(Bureau): shortcode = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(5)).encode() with self.dbenv.begin(db=self.tweetdb, write=True) as txn: - txn.put(shortcode, msgid.encode()) + txn.put(shortcode, tweet_id.encode()) @add_command("tweetpic", "Post a Document Camera Image to Twitter") def tweet_pic(self):