We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0be90 commit 509f7dfCopy full SHA for 509f7df
test/image/convert_b64.py
@@ -54,8 +54,8 @@ def arraysToB64(obj, newObj) :
54
# But here we convert 2 item array to test typed arrays
55
# in more places.
56
57
- # skip converting arrays with 1 item or less
58
- if(arr.ndim == 1 and arr.shape[0] < 2) :
+ # skip converting arrays with no items
+ if(arr.ndim == 1 and arr.shape[0] < 1) :
59
newObj[key] = val
60
continue
61
0 commit comments