diff options
Diffstat (limited to 'Lib/plat-mac/findertools.py')
-rw-r--r-- | Lib/plat-mac/findertools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/findertools.py b/Lib/plat-mac/findertools.py index 282cc27..6c12419 100644 --- a/Lib/plat-mac/findertools.py +++ b/Lib/plat-mac/findertools.py @@ -484,8 +484,8 @@ def windowposition(folder, pos=None): openwindow(fsr) if not pos: return _getwindowposition(folder_alias) - if type(pos) == InstanceType: - # pos might be a QDPoint object as returned by _getwindowposition + if aetypes.IsQDPoint(pos): + # QDPoint object as returned by _getwindowposition pos = (pos.h, pos.v) return _setwindowposition(folder_alias, pos) |