Skip to content

Commit 7c7cecd

Browse files
author
SM_SAYEED
committed
logging debug
1 parent 3dfaddf commit 7c7cecd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,11 +365,10 @@ def property_detail(property_name, tab):
365365
ORDER BY uploaded_at DESC
366366
""", (property_name, tab))
367367
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-
# ]
368+
uploads = [
369+
(fname, source, description, uploaded_at)
370+
for (fname, source, description, uploaded_at) in uploads
371+
]
373372

374373
return render_template(
375374
'property_detail.html',

0 commit comments

Comments
 (0)