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
1c8ca862
Commit
1c8ca862
authored
Oct 26, 2017
by
Benjamin Fischer
Browse files
[controller] FSAjaxController.upload: fixed empty files handling
parent
dc3bea87
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/controller/filesystem.py
View file @
1c8ca862
...
...
@@ -320,7 +320,7 @@ class FSAjaxController(AbstractController):
while
True
:
data
=
part
.
file
.
read
(
1024
**
2
)
if
len
(
data
)
<=
0
:
if
append
and
len
(
data
)
<=
0
:
break
success
,
msg
=
fs
.
save_file_content
(
filename
,
data
,
...
...
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