diff --git a/photos.py b/photos.py index 6747419..ed3698c 100644 --- a/photos.py +++ b/photos.py @@ -58,6 +58,7 @@ def photos(): print(file_types) return render_template("photos.html", page_title='View Photos', view_path=view_path, alert=st.GetAlert(), message=st.GetMessage() ) + return render_template("photos.html", page_title='View Photos', view_path=view_path, file_list=file_list, alert=st.GetAlert(), message=st.GetMessage() ) def isImage(file): @@ -76,4 +77,4 @@ def isVideo(file): return True return False except: - return False \ No newline at end of file + return False