Tiny fix to work on Windows

This commit is contained in:
Shreya 2020-08-27 10:16:58 +05:30
parent 7950b246aa
commit 144e314edc
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ class ClearCommandHistory(PBA):
def run(self): def run(self):
results = [pba.run() for pba in self.clear_command_history_PBA_list()] results = [pba.run() for pba in self.clear_command_history_PBA_list()]
PostBreachTelem(self, results).send() if results:
PostBreachTelem(self, results).send()
def clear_command_history_PBA_list(self): def clear_command_history_PBA_list(self):
return self.CommandHistoryPBAGenerator().get_clear_command_history_pbas() return self.CommandHistoryPBAGenerator().get_clear_command_history_pbas()