Fix invalid argument

This commit is contained in:
Gobinath 2017-02-15 18:43:16 -05:00
parent f20b9602fc
commit b22bddb766
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class TrayIcon:
self.item_info.set_label(self.language['messages']['disabled_until_restart'])
else:
wakeup_time = datetime.datetime.now() + datetime.timedelta(minutes=time_to_wait)
Utility.start_thread(self.__schedule_resume, args={'time_minutes': time_to_wait})
Utility.start_thread(self.__schedule_resume, time_minutes=time_to_wait)
self.item_info.set_label(self.language['messages']['disabled_until_x'].format(Utility.format_time(wakeup_time)))