summaryrefslogtreecommitdiff
path: root/django/contrib/sessions/backends/file.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/sessions/backends/file.py')
-rw-r--r--django/contrib/sessions/backends/file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/sessions/backends/file.py b/django/contrib/sessions/backends/file.py
index 3f6350345f..843edca9cf 100644
--- a/django/contrib/sessions/backends/file.py
+++ b/django/contrib/sessions/backends/file.py
@@ -58,7 +58,7 @@ class SessionStore(SessionBase):
finally:
session_file.close()
except IOError:
- pass
+ self.create()
return session_data
def create(self):