Closed noshita closed 7 years ago
Hi @noshita, thanks for your contribution. Although the patch looks good, but is the empty title equals applescript.kMissingValue
(which is an instance of AEType
), isn't it? If so, I suggest that an equality check would suffice, instead of checking whether it is not an instance of unicode
(or, str
). Could you please test it?
Hi @wookayin! Thank you for your guiding. I tested your suggestion and arranged the style by following yours.
Thank you, it looks good to me and I just merged it.
Following errors occur:
AttributeError: AEType instance has no attribute '__getitem__'
IndexError: string index out of range
.To avoid these errors, some conditions are added.