Skip to content
Snippets Groups Projects
Commit 29015418 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent other client's bug. fixes #2910

parent 284066fe
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment