changeset 1831 | 56b48961cc68 |
parent 1768 | 691083b5682a |
child 1832 | 0f1081928d65 |
--- a/controls/LogViewer.py Fri Sep 22 20:12:22 2017 +0300 +++ b/controls/LogViewer.py Thu Sep 28 12:20:40 2017 +0300 @@ -183,7 +183,7 @@ BUTTON_SIZE = (70, 15) -class LogButton(): +class LogButton(object): def __init__(self, label, callback): self.Position = wx.Point(0, 0) @@ -229,7 +229,7 @@ MESSAGE_INFO_SIZE = 18 -class LogMessage: +class LogMessage(object): def __init__(self, tv_sec, tv_nsec, level, level_bitmap, msg): self.Date = datetime.utcfromtimestamp(tv_sec)