def __init__(self, debug=False): " Constructor " self.debug = debug self.curl = cURL(debug=debug) if not self.get_skynet_info(): self.register() if self.debug: print("Skynet info not saved yet") self.update_my_device({"online": "true"})
def __init__(self, debug=False): self.debug=debug self.curl = cURL(debug=debug)