updated file_list var
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user