From 24bed3fc4f3a69c24074e9c5829a46b66702cbbf Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 26 Aug 2020 22:01:03 +0300 Subject: Remove debug statement * wqflask/wqflask/views.py(search_page): "debugf" raises an error since the first arg is expected to be an int --- wqflask/wqflask/views.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index b0489e64..0224da4a 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -206,8 +206,6 @@ def search_page(): result = the_search.__dict__ valid_search = result['search_term_exists'] - logger.debugf("result", result) - if USE_REDIS and valid_search: Redis.set(key, pickle.dumps(result, pickle.HIGHEST_PROTOCOL)) Redis.expire(key, 60*60) -- cgit v1.2.3