aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 22:09:13 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 22:09:13 +0100
commitc2ed7e63c07773847aaf8fa61273c635ba63a69b (patch)
treefd2d6babadcfafd263e161b28704e7fef6d4c9f8
parentFixed typo. (diff)
downloadnewspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.tar.gz
newspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.tar.bz2
newspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.zip
Updated initialization script.
-rwxr-xr-xpyaggr3g470r/initialization.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/initialization.py b/pyaggr3g470r/initialization.py
index 15e83563..fd0a59f8 100755
--- a/pyaggr3g470r/initialization.py
+++ b/pyaggr3g470r/initialization.py
@@ -10,6 +10,7 @@ import sys
from mongoengine import *
from werkzeug import generate_password_hash
+sys.path.append(".")
import conf
import models
@@ -25,4 +26,4 @@ if __name__ == "__main__":
user = models.User(firstname=firstname, lastname=lastname, \
email=email, pwdhash=generate_password_hash(password))
- user.save() \ No newline at end of file
+ user.save()
bgstack15