python-blogs
python-blogs copied to clipboard
Update cms_toolbars.py
Description
Currently, the default argument list 'action_args' accumulates the data from previous executions. This pull request makes sure that the default argument always has an empty list as intended.
Fixes #535
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
- [x] Calling the function again and testing it shows that the previous execution data isn't accumulated in the default parameter
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have not added a commit to any .db files as part of my pull request
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published in downstream modules
@warthog9 what do you think?
Closing in preparation for archiving this repo.