libtools/Tool.py:Tool(): derive from object.

This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-14 17:11:08 +02:00
parent 9cc6364a08
commit d67dd317a1

View File

@ -4,7 +4,7 @@
# Copyright (c) 2018, 2019 Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
#
class Tool():
class Tool(object):
# {{{ onKeyboardEvent(self, brushColours, brushSize, canvas, dispatchFn, eventDc, keyChar, keyModifiers, mapPoint, viewRect)
def onKeyboardEvent(self, brushColours, brushSize, canvas, dispatchFn, eventDc, keyChar, keyModifiers, mapPoint, viewRect):
return False, False