Skip to content

Commit a90edc3

Browse files
committed
qtvcp -only check for class_patch if there is a handler file
1 parent dfb41ba commit a90edc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/python/qtvcp/qt_makepins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def __init__(self, halcomp, path, window, debug):
9595
if hndlr is not True and os.path.exists(hndlr):
9696
window[pName].load_extension(hndlr)
9797

98-
# do any class patching now #TODO not tested feature
99-
if "class_patch__" in dir(window[pName].handler_instance):
100-
window[pName].handler_instance.class_patch__()
98+
# do any class patching now #TODO not tested feature
99+
if "class_patch__" in dir(window[pName].handler_instance):
100+
window[pName].handler_instance.class_patch__()
101101

102102
# search for ui path and load if available
103103
uipath = self.PATH.find_embed_panel_path(cmd)

0 commit comments

Comments
 (0)