Fixed error in print statement Arch.OfflineRenderingUtils

This commit is contained in:
Amritpal Singh
2020-05-06 12:50:38 +05:30
committed by Yorik van Havre
parent f1fe97e96a
commit 68a4294383

View File

@@ -765,8 +765,8 @@ def buildGuiDocumentFromGuiData(document,guidata):
if len(hex_repr) > 8:
raise NotImplementedError(
f"Number of colors ({len(prop["value"])}) is greater than 4 bytes "
"and in DiffuseColor file we only specify number of colors in 4 bytes."
"Number of colors ({}) is greater than 4 bytes and in DiffuseColor file we only "
"specify number of colors in 4 bytes.".format(len(prop["value"]))
)
elif len(hex_repr) == 2: # `hex_repr` == 1 byte
# fill 3 other bytes (the number of colors occupies 4 bytes)