Kaydet (Commit) 7874b5d8 authored tarafından Jack Jansen's avatar Jack Jansen

minor fix

üst 50501997
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment