Remove unnecessary array initialzation

This commit is contained in:
Jens Luetjen 2016-04-02 16:04:45 +02:00
parent a6e33e537f
commit d93cc1b44d

View File

@ -75,5 +75,4 @@ class HistoryController(object):
def _load_state(self, state, coverage): def _load_state(self, state, coverage):
if state: if state:
if 'history' in coverage: if 'history' in coverage:
self._history = []
self._history = [(h.timestamp, h.track) for h in state.history] self._history = [(h.timestamp, h.track) for h in state.history]