]> marstr Code Repo - marstr/orthographic.git/commitdiff
Corrected typo in line 158
authorMarcus Str. <marcus@marstr.online>
Fri, 20 Dec 2024 13:09:34 +0000 (14:09 +0100)
committerMarcus Str. <marcus@marstr.online>
Fri, 20 Dec 2024 13:09:34 +0000 (14:09 +0100)
layergen.py

index 6e14cbad54a0b92fc7f6729a2d672670f56628dc..9c5ab0209e13e7e35d9c897ec2db7d0be388f56f 100644 (file)
@@ -158,7 +158,7 @@ class mstr_layergen:
             for line in file:\r
                 linedata = line.split(" ")\r
                 if len(linedata) > 1: # Make sure we don't break at last line of data file\r
-                    if linedata[0] == self._tag and linedata[1] == self._value and linedata[2] == ctr:\r
+                    if linedata[0] == self._tag and linedata[1] == self._value and linedata[2] == res:\r
                         contrast = int(linedata[3])\r
                         break\r
 \r