Fix #1647 Fix Python error when play was run without arguments

Fix Python error when play was run without arguments
Fixes #1647