Show More
@@ -363,6 +363,10 b' class FilesController(BaseRepoController' | |||
|
363 | 363 | filename = file_obj.filename |
|
364 | 364 | content = file_obj.file |
|
365 | 365 | |
|
366 | if hasattr(content, 'file'): | |
|
367 | # non posix systems store real file under file attr | |
|
368 | content = content.file | |
|
369 | ||
|
366 | 370 | if not content: |
|
367 | 371 | h.flash(_('No content'), category='warning') |
|
368 | 372 | return redirect(url('changeset_home', repo_name=c.repo_name, |
General Comments 0
You need to be logged in to leave comments.
Login now