updated file_list var

This commit is contained in:
2021-01-10 17:13:15 +11:00
parent 89eb73dab6
commit 05e31e73a1

View File

@@ -58,6 +58,7 @@ def photos():
print(file_types) 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, 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): def isImage(file):
@@ -76,4 +77,4 @@ def isVideo(file):
return True return True
return False return False
except: except:
return False return False