From 719685ce9c21c9ec2316fe9995df65f850a9cb99 Mon Sep 17 00:00:00 2001 From: b3yond Date: Sun, 23 Jul 2017 15:00:52 +0200 Subject: [PATCH] removed print of empty line in direct output --- retootbot.py | 2 +- retweetbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retootbot.py b/retootbot.py index e52a6b4..1ac545e 100644 --- a/retootbot.py +++ b/retootbot.py @@ -44,7 +44,7 @@ class RetootBot(object): line = "[" + time + "] "+ message + "\n" with open(self.logpath, 'a') as f: f.write(line) - print line + print line, def register(self): self.client_id = os.path.join( diff --git a/retweetbot.py b/retweetbot.py index c8fe866..15a88eb 100644 --- a/retweetbot.py +++ b/retweetbot.py @@ -88,7 +88,7 @@ class RetweetBot(object): line = "[" + time + "] "+ message + "\n" with open(self.logpath, 'a') as f: f.write(line) - print line + print line, def get_history(self, path): """ This counter is needed to keep track of your mentions, so you