mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 20:35:12 +00:00
Strip newlines from stored history in HistoryMonitor
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user