Fix some flake8 problems in iccp.py
@@ -50,7 +50,7 @@ class Profile:
if len(profile) < 128:
raise FormatError("ICC Profile is too short.")
size, = struct.unpack('>L', profile[:4])
- profile += inp.read(d['size'] - len(profile))
+ profile += inp.read(self.d['size'] - len(profile))
return self.fromString(profile, name)
def fromString(self, profile, name='<unknown>'):
