upload as multimode stores record

This commit is contained in:
Massimo Di Pierro
2012-03-28 12:05:19 -05:00
parent 04d960840a
commit 1504062df5
2 changed files with 3 additions and 1 deletions

View File

@@ -1 +1 @@
Version 1.99.7 (2012-03-27 13:56:36) dev
Version 1.99.7 (2012-03-28 11:59:12) dev

View File

@@ -203,6 +203,8 @@ def site():
overwrite=request.vars.overwrite_check)
if f and installed:
msg = 'application %(appname)s installed with md5sum: %(digest)s'
if MULTI_USER_MODE:
db.app.insert(name=appname,owner=auth.user.id)
log_progress(appname)
session.flash = T(msg, dict(appname=appname,
digest=md5_hash(installed)))