1. Mosab Ahmad
  2. CherryPy


Remi Delon  committed f7ee4f1

Fixed small bug in session_filter

  • Participants
  • Parent commits d251a1e
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/filters/sessionfilter.py

View file
     def clean_up(self, sess):
         storage_path = cherrypy.config.get('session_filter.storage_path')
+        if storage_path is None:
+            return
         now = datetime.datetime.now()
         # Iterate over all files in the dir/ and exclude non session files
         #   and lock files