@cpatrick This is actually changing the default value of `curPath` for future invocations of the function. It's my least favorite language feature of python.