#4130 (Bug) Error in ICCProfile.py (SVN r4089)

+1 0

Closed as Fixed
Component: DisplayCAL svn 4089
Created by Jean-Luc Coulon

Last modified


This applies to latest svn version (revision 4089), it was fine before.

I get the following message:

File “/usr/lib/python2.7/dist-packages/DisplayCAL/ICCProfile.py”, line 2127
return row
SyntaxError: invalid syntax

The offending line is the following:

row = [[min(max(0, v) * 32768.0, 65535) for v in (X, Y, Z)]

There are two square brackets befor “min”, one should be removed

Patch attached.



One comment on “Error in ICCProfile.py (SVN r4089)”

Comments are closed.