示例#1
0
 def load(self):
     host = self.args.get("host")
     url = self.args.get("url")
     port = self.args.get("port", None)
     username = self.args.get("username", None)
     password = self.args.get("password", None)
     protocol = self.args.get("protocol", "https")
     self.carddav = CardDAV(host, url, port, username, password, protocol)