debugs / comments

This commit is contained in:
2021-04-17 17:46:37 +10:00
parent 3237e3bf8f
commit 724d9b9a2e

View File

@@ -132,10 +132,10 @@ def ViewingOptions( request ):
how_many="50"
offset=0
size=128
print( f"ViewingOptions( {request.method} )" )
if 'files_sp' in request.path:
folders=True
cwd='static/storage'
# this is the default as 'Storage' is the path_type in the DB
cwd='static/Storage'
else:
folders=False
cwd=None
@@ -153,7 +153,6 @@ def ViewingOptions( request ):
folders=True
cwd = request.form['cwd']
print( f"setting cwd basedon form: {cwd}" )
if 'prev' in request.form:
offset -= int(how_many)
if offset < 0: