Dang it, size could also be None...
This commit is contained in:
parent
fcbba9608c
commit
c5b1cf01af
|
@ -220,6 +220,7 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
|||
# TODO: this logic may actually be client-specific? i just happened to
|
||||
# find some of these chars in a client DB and needed to avoid them, b/c
|
||||
# the openpyxl lib said IllegalCharacterError
|
||||
if size is not None:
|
||||
size = size.replace('\x00', '')
|
||||
|
||||
price_divider = None
|
||||
|
|
Loading…
Reference in a new issue