def __init__(self, root, logger, jamf_hostname, jamf_username, jamf_password):
"""
Initialize object and variables
"""
self.root = root
self.logger = logger
self.jamf_hostname = jamf_hostname
self.jamf_username = jamf_username
self.jamf_password = jamf_password
self.local_jamf_id = None
self.computer_name_string = StringVar()
self.fullname_string = StringVar()
self.search_string = StringVar()
self.status_string = StringVar()
self.checkin_string = StringVar()
self.id_string = StringVar()
self.status_string.set("Ready.")
self.status_warning = ttk.Style()
self.status_warning.configure('Warning.TLabel', foreground='red')
self.status_normal = ttk.Style()
self.status_normal.configure('Normal.TLabel', foreground='black')
#
# These methods are time intensive based on the number of each in your database
self.jamf_policies = self.build_policies()
self.jamf_profiles = self.build_profiles()
self.build_ui()
cargo_ship.py 文件源码
python
阅读 40
收藏 0
点赞 0
评论 0
评论列表
文章目录