Fixed Python error by adding default value for sep