aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/engine.py b/engine/engine.py
index 3373f7a..1ef0f8e 100644
--- a/engine/engine.py
+++ b/engine/engine.py
@@ -33,7 +33,7 @@ def combine(item, template):
def main():
- basedir = '../'
+ basedir = os.path.dirname(os.path.realpath(__file__)) + '/../'
pagesdir = basedir + 'pages/'
postsdir = basedir + 'posts/'
micropostsdir = basedir + 'microposts/'