Fix spelling error

Note: I'm not sure that the method where this error occurred is actually
doing anything since calling the method should have thrown a NameError