mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Added whoosh and sqlite files to .gitignore.
This commit is contained in:
parent
c0d6828f19
commit
293bcaf724
2 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,3 +4,6 @@
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
|
||||||
|
pokedex.sqlite
|
||||||
|
whoosh-index
|
||||||
|
|
|
@ -53,7 +53,7 @@ def open_index(directory=None, session=None, recreate=False):
|
||||||
# Defaults
|
# Defaults
|
||||||
if not directory:
|
if not directory:
|
||||||
directory = pkg_resources.resource_filename('pokedex',
|
directory = pkg_resources.resource_filename('pokedex',
|
||||||
'data/whoosh_index')
|
'data/whoosh-index')
|
||||||
|
|
||||||
if not session:
|
if not session:
|
||||||
session = connect()
|
session = connect()
|
||||||
|
|
Loading…
Reference in a new issue