Commits

Anonymous committed f7ee4f1

Fixed small bug in session_filter

  • Participants
  • Parent commits d251a1e

Comments (0)

Files changed (1)

cherrypy/filters/sessionfilter.py

     
     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