python: Change recipient type from string to list