Skip to content

Commit c14147b

Browse files
committed
Fix #3 Multiple-word queries not working
1 parent bf7feb9 commit c14147b

File tree

4 files changed

+109
-2
lines changed

4 files changed

+109
-2
lines changed

.gitignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
2+
# Created by https://www.gitignore.io/api/python,vim,sublimetext
3+
4+
### Python ###
5+
# Byte-compiled / optimized / DLL files
6+
__pycache__/
7+
*.py[cod]
8+
*$py.class
9+
10+
# C extensions
11+
*.so
12+
13+
# Distribution / packaging
14+
.Python
15+
env/
16+
build/
17+
develop-eggs/
18+
dist/
19+
downloads/
20+
eggs/
21+
.eggs/
22+
lib/
23+
lib64/
24+
parts/
25+
sdist/
26+
var/
27+
*.egg-info/
28+
.installed.cfg
29+
*.egg
30+
31+
# PyInstaller
32+
# Usually these files are written by a python script from a template
33+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34+
*.manifest
35+
*.spec
36+
37+
# Installer logs
38+
pip-log.txt
39+
pip-delete-this-directory.txt
40+
41+
# Unit test / coverage reports
42+
htmlcov/
43+
.tox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*,cover
50+
.hypothesis/
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
local_settings.py
59+
60+
# Flask instance folder
61+
instance/
62+
63+
# Sphinx documentation
64+
docs/_build/
65+
66+
# PyBuilder
67+
target/
68+
69+
# IPython Notebook
70+
.ipynb_checkpoints
71+
72+
# pyenv
73+
.python-version
74+
75+
# dotenv
76+
.env
77+
78+
79+
### Vim ###
80+
# swap
81+
[._]*.s[a-w][a-z]
82+
[._]s[a-w][a-z]
83+
# session
84+
Session.vim
85+
# temporary
86+
.netrwhist
87+
*~
88+
# auto-generated tag files
89+
tags
90+
91+
92+
### SublimeText ###
93+
# cache files for sublime text
94+
*.tmlanguage.cache
95+
*.tmPreferences.cache
96+
*.stTheme.cache
97+
98+
# workspace files are user-specific
99+
*.sublime-workspace
100+
101+
# project files should be checked into the repository, unless a significant
102+
# proportion of contributors will probably not be using SublimeText
103+
# *.sublime-project
104+
105+
# sftp configuration file
106+
sftp-config.json
107+

src/so.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def main(wf):
144144
else:
145145
query.append(word)
146146

147-
query = ''.join(query)
147+
query = ' '.join(query)
148148

149149
key = cache_key(query, tags)
150150

src/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1
1+
1.2

0 commit comments

Comments
 (0)