Exemple #1
0
 def set_reset_currency_thread(self, delay_in_seconds):
     """
     Function resets currencies to this class dictionaries and waits for a delay in seconds
     :param delay_in_seconds: delay to wait between next reset
     :return: returns nothing
     """
     while Settings.get_reset_currency_working():
         time.sleep(delay_in_seconds)
         self.set_currencies()