aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..3717715
--- /dev/null
+++ b/config.py
@@ -0,0 +1,5 @@
+from os import path
+
+APP_DIR = path.dirname(__file__)
+
+DATABASE = '%s' % path.join(APP_DIR, 'spider.db')