start timer won't be launched when not signed in

This commit is contained in:
iLLiCiTiT 2019-08-14 16:45:45 +02:00
parent ae658df760
commit 35ea6da261

View file

@ -143,6 +143,10 @@ class ClockifyModule:
self.bool_timer_run = False
def start_timer(self, input_data):
# If not api key is not entered then skip
if not self.clockapi.get_api_key():
return
actual_timer = self.clockapi.get_in_progress()
actual_timer_hierarchy = None
actual_project_id = None