diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-07-29 15:31:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-07-29 15:31:10 (GMT) |
commit | 7874b5d88cdf22154ac29927d9e747fecc1f0b2d (patch) | |
tree | ce373ecf16dd89d420a5ca24623e69d0f7adff71 /Mac | |
parent | 5050199787cd7dea54fa56703eb10683f52c5028 (diff) | |
download | cpython-7874b5d88cdf22154ac29927d9e747fecc1f0b2d.zip cpython-7874b5d88cdf22154ac29927d9e747fecc1f0b2d.tar.gz cpython-7874b5d88cdf22154ac29927d9e747fecc1f0b2d.tar.bz2 |
minor fix
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/toolbox/aetools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/toolbox/aetools.py b/Mac/Lib/toolbox/aetools.py index 565cdec..53d2cbd 100644 --- a/Mac/Lib/toolbox/aetools.py +++ b/Mac/Lib/toolbox/aetools.py @@ -125,7 +125,7 @@ class TalkTo: self.target = signature elif type(signature) == InstanceType and hasattr(signature, '__aepack__'): self.target = signature.__aepack__() - elif type(signature) == StringType and len(signature) != 4: + elif type(signature) == StringType and len(signature) == 4: self.target = AE.AECreateDesc(AppleEvents.typeApplSignature, signature) else: raise TypeError, "signature should be 4-char string or AEDesc" |