Commit 7bcda20a authored by Romain Loth's avatar Romain Loth

non-int ID prevented UCACHE key match

parent 424262b2
...@@ -610,10 +610,10 @@ def save_form(clean_records, update_flag=False): ...@@ -610,10 +610,10 @@ def save_form(clean_records, update_flag=False):
# TODO class User method !! # TODO class User method !!
luid = None luid = None
if update_flag: if update_flag:
luid = clean_records['luid'] luid = int(clean_records['luid'])
db.save_scholar(clean_records, reg_db, update_luid=luid) db.save_scholar(clean_records, reg_db, update_luid=luid)
else: else:
luid = db.save_scholar(clean_records, reg_db) luid = int(db.save_scholar(clean_records, reg_db))
# D) read/fill each keyword and save the (uid <=> kwid) pairings # D) read/fill each keyword and save the (uid <=> kwid) pairings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment