summaryrefslogtreecommitdiff
path: root/tbc_error_page
diff options
context:
space:
mode:
Diffstat (limited to 'tbc_error_page')
-rw-r--r--tbc_error_page/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc_error_page/models.py b/tbc_error_page/models.py
index 82c4da6..3f9b820 100644
--- a/tbc_error_page/models.py
+++ b/tbc_error_page/models.py
@@ -1,12 +1,12 @@
from django.db import models
import os
-import cPickle
+import pickle
def get_json_from_file(filename):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), filename)
if os.path.isfile(path):
with open(path) as json_dump:
- json_data =cPickle.load(json_dump)
+ json_data =pickle.load(json_dump)
return json_data
else:
return False