switch slow and insane presets

This commit is contained in:
Gordon Shumway 2019-03-22 10:43:13 -04:00 committed by GitHub
parent a04838edd0
commit 8987bbb5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -203,12 +203,12 @@ class ASCII(callbacks.Plugin):
c2 = sRGBColor(c2[0],c2[1],c2[2])
c2 = convert_color(c2, LabColor)
c2 = (c2.lab_l, c2.lab_a, c2.lab_b)
delta_e = delta_E_CIE2000(c1, c2)
delta_e = delta_E_CMC(c1, c2)
else:
c2 = sRGBColor(c2[0],c2[1],c2[2])
c2 = convert_color(c2, LabColor)
c2 = (c2.lab_l, c2.lab_a, c2.lab_b)
delta_e = delta_E_CMC(c1, c2)
delta_e = delta_E_CIE2000(c1, c2)
return delta_e
def img(self, irc, msg, args, optlist, url):