misc ui and lib fixes for py3
This commit is contained in:
@@ -332,7 +332,7 @@ def bfh(x):
|
||||
elif isinstance(x, (list, tuple, map)):
|
||||
return [bfh(sub) for sub in x]
|
||||
else:
|
||||
raise TypeError('Unexpected type: ' + type(x))
|
||||
raise TypeError('Unexpected type: ' + str(type(x)))
|
||||
|
||||
|
||||
def bh2u(x):
|
||||
|
||||
Reference in New Issue
Block a user