From 95d3b2c0833666cbc468257f551688671104e269 Mon Sep 17 00:00:00 2001 From: finalion Date: Tue, 2 May 2017 10:25:12 +0300 Subject: [PATCH] Update query.py --- wquery/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wquery/query.py b/wquery/query.py index dc35e74..aee47e3 100644 --- a/wquery/query.py +++ b/wquery/query.py @@ -115,7 +115,7 @@ def query_from_browser(browser): def query_from_editor_all_fields(editor): - if not editor: + if not editor or not editor.note: return work_manager.reset_query_counts() update_progress_label.kwargs = defaultdict(str)