diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-02-09 22:09:13 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-02-09 22:09:13 +0100 |
commit | c2ed7e63c07773847aaf8fa61273c635ba63a69b (patch) | |
tree | fd2d6babadcfafd263e161b28704e7fef6d4c9f8 /pyaggr3g470r/initialization.py | |
parent | Fixed typo. (diff) | |
download | newspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.tar.gz newspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.tar.bz2 newspipe-c2ed7e63c07773847aaf8fa61273c635ba63a69b.zip |
Updated initialization script.
Diffstat (limited to 'pyaggr3g470r/initialization.py')
-rwxr-xr-x | pyaggr3g470r/initialization.py | 3 |
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() |