do not forget a missing session
This commit is contained in:
@@ -6234,7 +6234,7 @@ class Expose(object):
|
||||
and file creation under `base`.
|
||||
|
||||
"""
|
||||
current.session.forget()
|
||||
current.session and current.session.forget()
|
||||
self.follow_symlink_out = follow_symlink_out
|
||||
self.base = self.normalize_path(
|
||||
base or os.path.join(current.request.folder, 'static'))
|
||||
|
||||
Reference in New Issue
Block a user