Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
679aad45
Commit
679aad45
authored
Aug 09, 2017
by
Benjamin Fischer
Browse files
[controller] FSAjaxController: check for existance in filelist
parent
3f1ba2db
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/controller/filesystem.py
View file @
679aad45
...
...
@@ -154,6 +154,9 @@ class FSAjaxController(AbstractController):
reverse
=
self
.
convert
(
reverse
,
bool
)
hide_hidden
=
self
.
convert
(
hide_hidden
,
bool
)
if
not
fs
.
exists
(
path
):
raise
AjaxException
(
"there is no such file: %s"
%
path
)
# get the files with the filter
return
fs
.
get_file_list
(
path
,
filter
=
filefilter
,
reverse
=
reverse
,
encode_json
=
True
,
...
...
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