Don't need "(object)" for classes in Python3

This commit is contained in:
Hugo Posnic 2017-11-18 20:18:48 +01:00
parent 59b3d8c94d
commit 3a19f3cef8

View file

@ -30,7 +30,7 @@ class TrimageTableView(QTableView):
self.drop_event_signal.emit(filelist)
class Ui_trimage(object):
class Ui_trimage():
def get_image(self, image):
""" Get the correct link to the images used in the UI """
imagelink = path.join(path.dirname(path.dirname(path.realpath(__file__))), "trimage/" + image)