python3 compatibility for JSONRPCError
Trying this again, now that I learned about gluon._compat
This commit is contained in:
1 parent
b7202df0b9
commit
75491fb273
1 file changed
+1
-1
@@ -30,7 +30,7 @@ else:
|
|||||||
from io import StringIO
|
from io import StringIO
|
||||||
import random
|
import random
|
||||||
import json
|
import json
|
||||||
|
from gluon._compat import basestring
|
||||||
|
|
||||||
class JSONRPCError(RuntimeError):
|
class JSONRPCError(RuntimeError):
|
||||||
"Error object for remote procedure call fail"
|
"Error object for remote procedure call fail"
|
||||||
|
|||||||
Reference in new issue
Block a user