~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to bin/ivle-makeuser

Fixed an omission in XHTMLRESTView in which a template which had not
yet been loaded was being rendered.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    print "Must run %s as root." % os.path.basename(sys.argv[0])
36
36
    sys.exit(1)
37
37
 
38
 
from ivle.config import Config
39
38
from ivle.database import get_store, User
40
39
from ivle.pulldown_subj import enrol_user
41
40
 
81
80
if 'nick' not in user:
82
81
    user['nick'] = user['fullname']
83
82
 
84
 
store = get_store(Config())
 
83
store = get_store()
85
84
 
86
85
try:
87
86
    # Make the user's database entry