Commit 90c3c164 authored by Jack Jansen's avatar Jack Jansen

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.
parent d61f92ba
......@@ -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
......
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