Skip to content

Commit

Permalink
Merge pull request #2459 from nbargnesi/default-behavior-to-dict його
Browse files Browse the repository at this point in the history
restore behavior defaults to a dictionary
  • Loading branch information
doomedraven authored Jan 14, 2025
2 parents f872e2c + 957e58a commit e33b237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/processing/behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ def run(self):
@return: results dict.
"""

behavior = []
behavior = {"processes": []}
if path_exists(self.logs_path) and len(os.listdir(self.logs_path)) != 0:
behavior = {"processes": Processes(self.logs_path, self.task, self.options).run()}

Expand Down

0 comments on commit e33b237

Please sign in to comment.