From 16d80e59e9635d78ec629dbb30b0d33093701697 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 18 Dec 2018 19:49:55 +0100 Subject: [PATCH] Remove unused code --- tootbot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tootbot.py b/tootbot.py index 83b4897..3b71d4a 100755 --- a/tootbot.py +++ b/tootbot.py @@ -72,10 +72,7 @@ for t in reversed(d.entries[0:5]): print("ERROR: First Login Failed!") sys.exit(1) - #h = BeautifulSoup(t.summary_detail.value, "html.parser") c = t.title -# if t.author != '(%s)' % twitter: -# c = ("RT %s\n" % t.author[1:-1]) + c toot_media = [] # get the pictures... for p in re.finditer(r"https://pbs.twimg.com/[^ \xa0\"]*", t.summary):