ArtPoon/sc2rf

Wrong indentation level?

Closed this issue · 2 comments

sc2rf/sc2rf.py

Lines 511 to 516 in 5af5693

if s == 'N' or s == '-':
if start_n == -1:
start_n = i
elif start_n >= 0:
missings.append((start_n, i - 1))
start_n = -1

I think lines 514 and 515 should be one level down

oh - I get it. This is collapsing two tests:

  1. is s something other than N or -
  2. is start_n not -1, indicating that we started tracking a missing interval