Skip to content

Commit

Permalink
Merge pull request #1 from tonjo/tonjo-patch-1
Browse files Browse the repository at this point in the history
Update linux_colorpicker.py
  • Loading branch information
tonjo committed Apr 16, 2015
2 parents fac4528 + 565b21f commit 01c89a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linux_colorpicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
color_sel.get_color_selection().set_current_color(current_color)


if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.Ok):
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK):
color = color_sel.get_color_selection().get_current_color()
#Convert to 8bit channels
red = int(color.red / 256)
Expand Down

0 comments on commit 01c89a0

Please sign in to comment.