Corrected typo in line 158

This commit is contained in:
Marcus Str. 2024-12-20 14:09:34 +01:00
parent 4434ad004c
commit eb68996385

View File

@ -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