voicemeeter-remote-python icon indicating copy to clipboard operation
voicemeeter-remote-python copied to clipboard

Update util.py

Open daki4 opened this issue 10 months ago • 0 comments

When using a default argument in a python function that is a mutable type (e.x. a list, or a dictionary), python will make one version, and then when the function is called again, it will re-use the same object, causing possible unintended side effects. currently, the function is used in a way that will not cause an error, but if it is used in the future, then it can't be abused in such a way

daki4 avatar Aug 08 '23 03:08 daki4