Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
VibhuJawa committed Oct 9, 2024
1 parent a57366a commit 7a4cb5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crossfit/op/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ def __init__(self, pre=None, cols=False, keep_cols=None):
self.pre = pre
self.cols = cols
self.keep_cols = keep_cols or []
self.worker_name = getattr(self.get_worker(), "name", 0)

@property
def worker_name(self):
return getattr(self.get_worker(), "name", 0)

def setup(self):
pass
Expand Down

0 comments on commit 7a4cb5e

Please sign in to comment.