Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
858179b0
Commit
858179b0
authored
Feb 28, 2014
by
Jerome Mariette
Browse files
better handle of timestamp
parent
8277886f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ng6/t3MySQLdb.py
View file @
858179b0
...
...
@@ -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'"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment