X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/653c75b6951e028fe4c68e27cc9852e45fa418a6..308aa7c7d75b50a4b36a70681b5e012dbd023c11:/apps/explorer/views.py diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 19cc10b1..18f79b3e 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -46,7 +46,7 @@ def ajax_login_required(view): def file_list(request, repo): # latest_default = repo.get_branch_tip('default') - files = list( repo.repo[latest_default] ) + files = [ f for f in repo.repo[latest_default] if not f.startswith('.')] bookform = forms.BookUploadForm() return direct_to_template(request, 'explorer/file_list.html', extra_context={