diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index c597aaf076db091c6ca35083662b2bf314c6237f..8cfd117801bcca9c68afaf609cda12a8c4033bf2 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -47,10 +47,9 @@ SVGEmptyStyles = {'useFill': None, def srgb_to_linearrgb(c): if c < 0.04045: - return 0.0 if c < 0.0 else c * (1.0 / 12.92); + return 0.0 if c < 0.0 else c * (1.0 / 12.92) else: - return pow((c + 0.055) * (1.0 / 1.055), 2.4); - + return pow((c + 0.055) * (1.0 / 1.055), 2.4) def SVGParseFloat(s, i=0): """