In unpackevent, get the direct object (----) before asking for missed parameters.
The documentation is unclear on this, but the old implementation caused problems with Default Folder.
This commit is contained in:
parent
d61f92bab3
commit
90c3c164e0
|
@ -58,6 +58,13 @@ def missed(ae):
|
|||
|
||||
def unpackevent(ae):
|
||||
parameters = {}
|
||||
try:
|
||||
dirobj = ae.AEGetParamDesc('----', '****')
|
||||
except AE.Error:
|
||||
pass
|
||||
else:
|
||||
parameters['----'] = unpack(dirobj)
|
||||
del dirobj
|
||||
while 1:
|
||||
key = missed(ae)
|
||||
if not key: break
|
||||
|
|
Loading…
Reference in New Issue