Commit 858179b0 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

better handle of timestamp

parent 8277886f
......@@ -119,8 +119,7 @@ class t3MySQLdb(object):
project_id = curs.fetchall()[0][0]
exists = True
except:
crdate = time.mktime(datetime.date.today().timetuple())
crdate = str(time.mktime(datetime.date.today().timetuple())).split(".")[0]
if cruser_login: # If the administrator login is specified
admin_id=self.get_user_id(cruser_login)
req = "SELECT right_level_id FROM fe_rights_levels WHERE right_level_label = 'administrator'"
......
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