mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added workspace_name attribute to clockify
This commit is contained in:
parent
22ff14b93d
commit
be135a7932
1 changed files with 7 additions and 0 deletions
|
|
@ -8,7 +8,14 @@ from . import ClockifySettings, ClockifyAPI, MessageWidget
|
|||
|
||||
class ClockifyModule:
|
||||
|
||||
workspace_name = None
|
||||
|
||||
def __init__(self, main_parent=None, parent=None):
|
||||
if not self.workspace_name:
|
||||
raise Exception("Clockify Workspace is not set in config.")
|
||||
|
||||
os.environ["CLOCKIFY_WORKSPACE"] = self.workspace_name
|
||||
|
||||
self.log = Logger().get_logger(self.__class__.__name__, "PypeTray")
|
||||
|
||||
self.main_parent = main_parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue