don't crash on trying to change IP interface for Beremiz_service using taskbar icon if IP wasn't previously
By default IP is not set (None) and service listen only on localhost interface.
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func