add quest rank to db

This commit is contained in:
Bryce Allen
2015-04-02 22:52:46 -05:00
parent 1be52d7a1e
commit 9fa9f8e2a9
5 changed files with 153 additions and 21 deletions

11
db/_pathfix.py Normal file
View File

@@ -0,0 +1,11 @@
"""
Hack to get scripts to run from source checkout without having to set
PYTHONPATH.
"""
import sys
from os.path import dirname, join, abspath
db_path = dirname(__file__)
project_path = abspath(join(db_path, ".."))
sys.path.insert(0, project_path)