summaryrefslogtreecommitdiff
path: root/searx/engines/github.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-07-09 01:18:37 +0200
committerAdam Tauber <asciimoo@gmail.com>2014-07-09 01:18:37 +0200
commit66f02dc2b6b0c6127ba908ad9be3a97dfd633f7f (patch)
tree8a63e497c1e34ab642c8c34a815b15787909d987 /searx/engines/github.py
parent84c3251bdc86052acb8a1baf92684417eb362edc (diff)
downloadsearxng-66f02dc2b6b0c6127ba908ad9be3a97dfd633f7f.tar.gz
searxng-66f02dc2b6b0c6127ba908ad9be3a97dfd633f7f.zip
[fix] unused globals removed
Diffstat (limited to 'searx/engines/github.py')
-rw-r--r--searx/engines/github.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/engines/github.py b/searx/engines/github.py
index be2cfe7c5..d36797aba 100644
--- a/searx/engines/github.py
+++ b/searx/engines/github.py
@@ -10,7 +10,6 @@ accept_header = 'application/vnd.github.preview.text-match+json'
def request(query, params):
- global search_url
params['url'] = search_url.format(query=urlencode({'q': query}))
params['headers']['Accept'] = accept_header
return params