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