Skip to content

Commit dec9275

Browse files
authored
Fix broken plug relative import in global __init__.py
The imported `plug` module was broken, plugs did not work with multiple monitors as they should have been. This was probably due to the black magic class->name->object shenanigans going on in the plug initialization.
1 parent 61d0755 commit dec9275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openhtf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
'conf',
8787
)
8888

89-
plug = plugs.plug
89+
plug = openhtf.plugs.plug
9090
BasePlug = openhtf.core.base_plugs.BasePlug
9191

9292
DiagnosesStore = openhtf.core.diagnoses_lib.DiagnosesStore

0 commit comments

Comments
 (0)