fix #535 now works with both cases: using -c from command line and pressing c in the ui

This commit is contained in:
Marcelo Glezer 2015-03-25 17:07:31 -03:00
parent e6a8863c51
commit c5f153f8d0

View File

@ -298,6 +298,8 @@ class ConsoleMaster(flow.FlowMaster):
signals.status_message.send(message=e.strerror) signals.status_message.send(message=e.strerror)
def client_playback_path(self, path): def client_playback_path(self, path):
if not isinstance(path, list):
path = [path]
flows = self._readflows(path) flows = self._readflows(path)
if flows: if flows:
self.start_client_playback(flows, False) self.start_client_playback(flows, False)