Skip to content

Commit 49e60b8

Browse files
committed
[OpenDataServices/cove#940] Remove duplicate None warnings
1 parent e3b4eb4 commit 49e60b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flattentool/input.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def do_unflatten(self):
254254
# We want to ignore data in earlier columns, so we look
255255
# through the data backwards
256256
for i, actual_heading in enumerate(reversed(actual_headings)):
257+
if actual_heading is None:
258+
continue
257259
if actual_heading in found:
258260
found[actual_heading].append((last_col-i)-1)
259261
else:

0 commit comments

Comments
 (0)