Skip to content

Commit

Permalink
Update python-zeroconf to 0.47.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldOfView committed Jan 2, 2023
1 parent 762b097 commit b380868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OctoPrintOutputDevicePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
if "zeroconf" in sys.modules:
Logger.log(
"d",
"The zeroconf module is already imported; trying to flush it so we can import our own version",
"The zeroconf module is already imported; flush it so we can import our own version",
)
sys.modules.pop("zeroconf")

Expand All @@ -59,7 +59,7 @@

zeroconf_spec = importlib.util.spec_from_file_location(
"zeroconf",
os.path.join(plugin_path, "python-zeroconf", "zeroconf", "__init__.py"),
os.path.join(plugin_path, "python-zeroconf", "src", "zeroconf", "__init__.py"),
)
zeroconf_module = importlib.util.module_from_spec(zeroconf_spec)
sys.modules["zeroconf"] = zeroconf_module
Expand Down
2 changes: 1 addition & 1 deletion python-zeroconf

0 comments on commit b380868

Please sign in to comment.