From 0f00b7237ab0b658c1524e1e7cc0b5e5d87f2a20 Mon Sep 17 00:00:00 2001 From: Ebag333 Date: Thu, 9 Feb 2017 01:02:55 -0800 Subject: [PATCH] Another classic class conversion --- gui/display.py | 1 + service/network.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/display.py b/gui/display.py index 3e8c9b247..2ae83aa44 100644 --- a/gui/display.py +++ b/gui/display.py @@ -67,6 +67,7 @@ class Display(wx.ListCtrl): i += 1 info = wx.ListItem() + # noinspection PyPropertyAccess info.m_mask = wx.LIST_MASK_WIDTH self.InsertColumnInfo(i, info) self.SetColumnWidth(i, 0) diff --git a/service/network.py b/service/network.py index b191ad57f..d050e88e2 100644 --- a/service/network.py +++ b/service/network.py @@ -51,7 +51,7 @@ class TimeoutError(StandardError): pass -class Network: +class Network(object): # Request constants - every request must supply this, as it is checked if # enabled or not via settings ENABLED = 1