diff --git a/lib/tfw/components/history_monitor.py b/lib/tfw/components/history_monitor.py index 553d6bb..4f0eba8 100644 --- a/lib/tfw/components/history_monitor.py +++ b/lib/tfw/components/history_monitor.py @@ -26,7 +26,7 @@ class HistoryMonitor: def _fetch_history(self): with open(self.histfile, 'r') as ifile: - self._history = ifile.readlines() + self._history = [line.rstrip() for line in ifile.readlines()] def watch(self): self.observer.start()