Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aflitos, Saulo Alves
ibrowser
Commits
21d1e839
Commit
21d1e839
authored
Jun 26, 2015
by
Aflitos, Saulo Alves
Browse files
fixed global variable DATABASES_MTIME
parent
a5ed51aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes.py
View file @
21d1e839
...
...
@@ -873,7 +873,7 @@ def get_mtime(db_name):
if
db_name
not
in
app
.
config
[
"DATABASEINV"
]:
abort
(
404
)
return
jsonify
(
{
'mtime'
:
app
.
config
[
"DATABASES"
][
app
.
config
[
"DATABASEINV"
][
db_name
]
][
app
.
config
[
"
DATABASES_MTIME
"
]
]
}
)
return
jsonify
(
{
'mtime'
:
app
.
config
[
"DATABASES"
][
app
.
config
[
"DATABASEINV"
][
db_name
]
][
DATABASES_MTIME
]
}
)
@
app
.
route
(
"/api/maxnumcol"
,
methods
=
[
'GET'
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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