commit e007c36a5fcb4210c282aac3f343aea64ceb9dc4 Author: Daniel Swanson Date: Tue Jul 27 08:46:26 2021 -0500 dumb typo diff --git a/apertium-regtest.py b/apertium-regtest.py index 1e8385b..fc2a5f1 100755 --- a/apertium-regtest.py +++ b/apertium-regtest.py @@ -76,7 +76,7 @@ def load_output(fname): print('ERROR: Entry %s in %s was empty!' % (hsh, fname)) l = 0 if line: - l = int(l[1:]) + l = int(line[1:]) ret[hsh] = [l, content] # line numbers are nice for debugging, # but nothing breaks if we don't have them