Fix syntax error in worddict.

Does what it says on the tin. Fixes a syntax error that prevents the script from running.