debugs / comments
This commit is contained in:
5
files.py
5
files.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user