multicast-relay
multicast-relay copied to clipboard
Don't import `http.server` unless it is needed
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.