multicast-relay icon indicating copy to clipboard operation
multicast-relay copied to clipboard

Don't import `http.server` unless it is needed

Open joshuaspence opened this issue 2 years ago • 0 comments

I am using multicast-relay on a fairly minimal system which has Python installed but doesn't have the http or netifaces modules. Since multicast-relay already wraps import netifaces within a conditional, it seemed reasonable to do the same for import http.server as well.

joshuaspence avatar Nov 05 '23 00:11 joshuaspence