Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
3pia
VISPA
VISPA web
Commits
1c8ca862
Commit
1c8ca862
authored
Oct 26, 2017
by
Benjamin Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[controller] FSAjaxController.upload: fixed empty files handling
parent
dc3bea87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vispa/controller/filesystem.py
vispa/controller/filesystem.py
+1
-1
No files found.
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
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