Use cPickle if available
This commit is contained in:
1 parent
2f809d8066
commit
8734e0efe2
1 file changed
+4
-1
+4
-1
@@ -21,7 +21,10 @@ from __future__ import with_statement
|
||||
import time
|
||||
import os
|
||||
import sys
|
||||
import pickle
|
||||
try:
|
||||
import cPickle as pickle
|
||||
except:
|
||||
import pickle
|
||||
|
||||
from _compatibility import json
|
||||
import settings
|
||||
|
||||
Reference in new issue
Block a user