From 3965bdb55452f12e734a811594ff188af898f39c Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Wed, 15 Apr 2020 17:02:50 +0200 Subject: [PATCH] performs better without it --- pwnagotchi/plugins/default/logtail.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pwnagotchi/plugins/default/logtail.py b/pwnagotchi/plugins/default/logtail.py index b19500e..c3c8fed 100644 --- a/pwnagotchi/plugins/default/logtail.py +++ b/pwnagotchi/plugins/default/logtail.py @@ -273,7 +273,6 @@ class Logtail(plugins.Plugin): if path == 'stream': def generate(): with open(self.config['main']['log']['path']) as f: - yield f.read() while True: yield f.readline()