prevent other client's bug. fixes #2910

This commit is contained in:
Yann Leboulanger 2007-01-22 18:05:59 +00:00
parent 284066fe40
commit 290154189f
1 changed files with 5 additions and 1 deletions

View File

@ -442,7 +442,11 @@ class CommandWindow:
# no commands => no commands stage
# commands => command selection stage
items = response.getTag('query').getTags('item')
query = response.getTag('query')
if query:
items = query.getTags('item')
else:
items = []
if len(items)==0:
self.commandlist = []
self.stage4()