You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print('Too many colors used in %, please use <=16.' % filename) would also work and be much more helpful/descriptive. I haven't tested that exact syntax though.
tarrenj
changed the title
Error not outputing
Non Descriptive/functioning error message
Oct 2, 2017
The
icon.py
script only supports images with 16 or less colors. The expected error message doesn't print when the relevant if statement is met.The if statement is at:
nanos-secure-sdk/icon.py
Line 154 in 1525802
I've resolved this by replacing the output line:
nanos-secure-sdk/icon.py
Line 155 in 1525802
print("Too many colors!")
The text was updated successfully, but these errors were encountered: