Corrected commandlog history emulated or not

This commit is contained in:
Anton Hvornum 2019-11-18 16:51:17 +01:00
parent 11d1e0f89c
commit ece0b764bc
1 changed files with 4 additions and 1 deletions

View File

@ -242,7 +242,10 @@ class sys_command():#Thread):
if not os.path.isdir(self.exec_dir):
os.makedirs(self.exec_dir)
commandlog.append(cmd + ' #emulated')
if self.kwargs['emulate']:
commandlog.append(cmd + ' #emulated')
else:
commandlog.append(cmd)
if start_callback: start_callback(self, *positionals, **kwargs)
#self.start()
self.run()