1) Add e-mail tunnel support 2) Modify all __new__ to get_instance() 3) init docker build scripts
This commit is contained in:
@@ -9,9 +9,10 @@ import os
|
||||
class WorkflowManager:
|
||||
_instance = None
|
||||
|
||||
def __new__(cls):
|
||||
@classmethod
|
||||
def get_instance(cls):
|
||||
if cls._instance is None:
|
||||
cls._instance = super(WorkflowManager, cls).__new__(cls)
|
||||
cls._instance = WorkflowManager()
|
||||
return cls._instance
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user