We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dfaddf commit 7c7cecdCopy full SHA for 7c7cecd
app.py
@@ -365,11 +365,10 @@ def property_detail(property_name, tab):
365
ORDER BY uploaded_at DESC
366
""", (property_name, tab))
367
uploads = c.fetchall()
368
- # uploads = [
369
- # (fname, source, description, uploaded_at)
370
- # for (fname, source, description, uploaded_at) in uploads
371
- # if os.path.exists(os.path.join(app.config['UPLOAD_FOLDER'], property_name, tab, fname))
372
- # ]
+ uploads = [
+ (fname, source, description, uploaded_at)
+ for (fname, source, description, uploaded_at) in uploads
+ ]
373
374
return render_template(
375
'property_detail.html',
0 commit comments