Example #1
0
 def __init__(self):
     ##
     # Initial Mode
     self.encoding = 'utf-8'
     self.mode = MODE.CLEAR
     self.current_message_dict = {}
     self.network_manager = NetworkManager.get_instance()
     super(Housekeeper, self).__init__()
Example #2
0
    def __init__(self):
        self.encoding = 'utf-8'
        self.stats = {}

        self.weather = {'connection': False}
        self.last_weather_check = time.time() - 9999
        self.load_weather()

        self.network_manager = NetworkManager.get_instance()