From 68648d15e48afecdd7592da08e28cacce59563b5 Mon Sep 17 00:00:00 2001 From: Chris McGowan Date: Tue, 16 Jul 2024 17:12:20 +1000 Subject: [PATCH] pylint tweeks --- createWidget.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/createWidget.py b/createWidget.py index b2fb699..82beebe 100644 --- a/createWidget.py +++ b/createWidget.py @@ -196,6 +196,7 @@ class createWidget: # [widgetName, parentName , widget, childList] widgetNameList = [] widgetId = 0 + baseRoot = any lastCreated = None dragType = ["move", "dragEast", "dragWest", "dragNorth", "dragSouth"] @@ -209,7 +210,7 @@ def __init__(self, root, widget): self.lastY = 0 self.root = root self.widget = widget - self.popup = Any + self.popup = any self.startX = 0 self.startY = 0 log.debug(self.widget.widgetName) @@ -266,7 +267,7 @@ def __init__(self, root, widget): createWidget.lastCreated = self def setRoot(self, root): - baseRoot = root + createWidget.baseRoot = root def addPlace(self, placeDict): log.debug(placeDict)