From eb68996385f423e44215e75e373ea6187cdadb95 Mon Sep 17 00:00:00 2001 From: "Marcus Str." Date: Fri, 20 Dec 2024 14:09:34 +0100 Subject: [PATCH] Corrected typo in line 158 --- layergen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layergen.py b/layergen.py index 6e14cba..9c5ab02 100644 --- a/layergen.py +++ b/layergen.py @@ -158,7 +158,7 @@ class mstr_layergen: for line in file: linedata = line.split(" ") if len(linedata) > 1: # Make sure we don't break at last line of data file - if linedata[0] == self._tag and linedata[1] == self._value and linedata[2] == ctr: + if linedata[0] == self._tag and linedata[1] == self._value and linedata[2] == res: contrast = int(linedata[3]) break