Skip to content

Commit

Permalink
fix use_client_log option
Browse files Browse the repository at this point in the history
  • Loading branch information
fuktommy committed Aug 11, 2023
1 parent c8db0e3 commit e487db9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shingetsu/crond.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ class Status(dict):

@classmethod
def get_instance(cls):
if config.use_client_log:
return cls()
if not hasattr(cls, "_instance"):
cls._instance = cls()
return cls._instance
Expand Down

0 comments on commit e487db9

Please sign in to comment.