mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 19:31:33 +00:00
Strip newlines from stored history in HistoryMonitor
This commit is contained in:
parent
180cf41f85
commit
cc964fdf27
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user