fix #535 server replay was failing from ui but working from command line (fixed now too)

This commit is contained in:
Marcelo Glezer 2015-03-25 17:12:38 -03:00
parent c5f153f8d0
commit fb17eea5e0

View File

@ -305,6 +305,8 @@ class ConsoleMaster(flow.FlowMaster):
self.start_client_playback(flows, False) self.start_client_playback(flows, False)
def server_playback_path(self, path): def server_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_server_playback( self.start_server_playback(