mirror of
https://github.com/logos-storage/multicodec.git
synced 2026-01-02 13:33:10 +00:00
Fix validation script
This commit is contained in:
parent
c237d10717
commit
f7bcf5959d
@ -30,10 +30,10 @@ def check(fname='table.csv'):
|
||||
|
||||
try:
|
||||
# Check for invalid rows
|
||||
if len(row) != 4:
|
||||
if len(row) != 5:
|
||||
raise CheckError(f"expected 4 items, got {len(row)}")
|
||||
|
||||
[name, _, code, _] = row
|
||||
[name, _, code, _, _] = row
|
||||
|
||||
# Check for a name
|
||||
if not name:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user