Lines Matching refs:runcolor
422 runcolor: bool = False
426 if modules[y][x] == runcolor:
434 if not runcolor:
436 runcolor = modules[y][x]
438 result += self._finder_penalty_terminate_and_count(runcolor, runx, runhistory) * QrCode._PENALTY_N3
441 runcolor = False
445 if modules[y][x] == runcolor:
453 if not runcolor:
455 runcolor = modules[y][x]
457 result += self._finder_penalty_terminate_and_count(runcolor, runy, runhistory) * QrCode._PENALTY_N3