Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,692
Issues
1,692
List
Boards
Labels
Service Desk
Milestones
Merge Requests
85
Merge Requests
85
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
ee8bab45
Commit
ee8bab45
authored
Oct 19, 2016
by
HERBERT Ryan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
controller/default.py file.py def -> defs
fix keyword error
parent
623e8a23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
server/web2py/applications/vidjil/controllers/default.py
server/web2py/applications/vidjil/controllers/default.py
+1
-1
server/web2py/applications/vidjil/controllers/file.py
server/web2py/applications/vidjil/controllers/file.py
+1
-1
No files found.
server/web2py/applications/vidjil/controllers/default.py
View file @
ee8bab45
...
@@ -131,7 +131,7 @@ def init_from_csv():
...
@@ -131,7 +131,7 @@ def init_from_csv():
# need patient admin permission
# need patient admin permission
def
run_request
():
def
run_request
():
error
=
""
error
=
""
enough_space
=
check_enough_space
(
def
.
DIR_RESULTS
)
enough_space
=
check_enough_space
(
def
s
.
DIR_RESULTS
)
if
not
enough_space
:
if
not
enough_space
:
return
error_message
(
"Uploads are temporarily disabled. System admins have been made aware of the situation."
)
return
error_message
(
"Uploads are temporarily disabled. System admins have been made aware of the situation."
)
...
...
server/web2py/applications/vidjil/controllers/file.py
View file @
ee8bab45
...
@@ -25,7 +25,7 @@ def add():
...
@@ -25,7 +25,7 @@ def add():
if
not
auth
.
can_upload_sample_set
(
sample_set
.
id
):
if
not
auth
.
can_upload_sample_set
(
sample_set
.
id
):
return
error_message
(
"you don't have right to upload files"
)
return
error_message
(
"you don't have right to upload files"
)
else
:
else
:
enough_space
=
check_enough_space
(
def
.
DIR_SEQUENCES
)
enough_space
=
vidjil_utils
.
check_enough_space
(
defs
.
DIR_SEQUENCES
)
if
not
enough_space
:
if
not
enough_space
:
return
error_message
(
"Uploads are temporarily disabled. System admins have been made aware of the situation."
)
return
error_message
(
"Uploads are temporarily disabled. System admins have been made aware of the situation."
)
...
...
Write
Preview
Markdown
is supported
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