From a8494ebb42113fad5ddf9b9e130e45576beb3751 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 21 Feb 2017 16:10:14 +0100 Subject: [PATCH] Add lyrics ID to tweet --- lyricsbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lyricsbot.py b/lyricsbot.py index e467e26..afe1e01 100755 --- a/lyricsbot.py +++ b/lyricsbot.py @@ -26,4 +26,4 @@ def postprocess(lid, tid, db = dbtools.dbHelper()): if __name__ == "__main__": lid, text, ref = getLyrics() - postprocess(lid, twitools.tweet(text, ref, setuptools.LYRICS)) + postprocess(lid, twitools.tweet("%s (#%i)" % (text, int(lid)), ref, setuptools.LYRICS))