# HG changeset patch # User Simon Cross # Date 1282653869 -7200 # Node ID a2c09200a433553bd13a32c0bba0816d78927913 # Parent 18ffaaaa27e7751b6ddeadbc97fbef6cc756e360 Remove check for None sound -- sound is never None. diff -r 18ffaaaa27e7 -r a2c09200a433 gamelib/speech.py --- a/gamelib/speech.py Tue Aug 24 14:43:33 2010 +0200 +++ b/gamelib/speech.py Tue Aug 24 14:44:29 2010 +0200 @@ -41,5 +41,4 @@ def say(thing_name, text): """Play text as speech.""" sound = get_speech(thing_name, text) - if sound is not None: - sound.play() + sound.play()