Skip to content

Commit 3172318

Browse files
committed
minor cleanup
1 parent 5ba3054 commit 3172318

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/get_answer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ def _rewrite_section_name_for_q(query):
284284
# so this part should be rewritten
285285
# for the most queries we could say immediately
286286
# what type the query has
287-
start_time = time.time()
288287
topic_type = get_topic_type(topic)
289288

290289
# checking if the answer is in the cache

lib/globals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"unknown" : '',
6060
}
6161

62+
MAX_SEARCH_LEN = 20
6263

6364
#
6465
# Reading configuration from etc/config.yaml

0 commit comments

Comments
 (0)