Skip to content

Commit

Permalink
Merge pull request #74 from tonjo/master
Browse files Browse the repository at this point in the history
Fix for #73
  • Loading branch information
weslly committed Apr 17, 2015
2 parents fac4528 + 01c89a0 commit 5f109aa
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 5f109aa

Please sign in to comment.