fix logging

This commit is contained in:
Milan Kolar 2019-04-12 18:53:14 +02:00
parent 698c59c8ea
commit b262c304ce
3 changed files with 3 additions and 3 deletions

View file

@ -190,7 +190,7 @@ class AppAction(BaseHandler):
os.environ["AVALON_APP"] = self.identifier.split("_")[0]
os.environ["AVALON_APP_NAME"] = self.identifier
anatomy = Anatomy(project_name=project_name)
anatomy = Anatomy(project=project_name)
hierarchy = ""
parents = database[project_name].find_one({

View file

@ -5,7 +5,7 @@ try:
except Exception:
pass
log = Logger.getLogger(__name__, "clockify_start")
log = Logger().get_logger(__name__, "clockify_start")
class ClockifyStart(api.Action):

View file

@ -4,7 +4,7 @@ try:
except Exception:
pass
from pype.api import Logger
log = Logger.getLogger(__name__, "clockify_sync")
log = Logger().get_logger(__name__, "clockify_sync")
class ClockifySync(api.Action):