Fix for python3 and pickle
This commit is contained in:
parent
ce6cde545b
commit
79ee07ea54
@ -85,7 +85,10 @@ import hashlib
|
|||||||
from redirect import redirect_back
|
from redirect import redirect_back
|
||||||
import time
|
import time
|
||||||
import server
|
import server
|
||||||
import cPickle
|
try:
|
||||||
|
import cPickle
|
||||||
|
except ImportError:
|
||||||
|
import pickle as cPickle
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from urllib.parse import quote
|
from urllib.parse import quote
|
||||||
|
Loading…
Reference in New Issue
Block a user