Skip to content

Commit 01cc6a9

Browse files
committed
fix bad build lib
1 parent 1184a54 commit 01cc6a9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fastcore/transform.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ def __call__(cls, *args, **kwargs):
4949
n = getattr(f,'__name__',None)
5050
if _is_tfm_method(f,n):
5151
if n in cls.__dict__: return getattr(cls,n).dispatch(f)
52-
53-
return super().__call__(*args,**kwargs)
54-
if n in cls.__dict__: getattr(cls,n).dispatch(f)
55-
return _mk_plum_func(dispatch,n,f,cls=cls)
52+
return _mk_plum_func(dispatch,n,f,cls=cls)
53+
return super().__call__(*args,**kwargs)
5654

5755
@classmethod
5856
def __prepare__(cls, name, bases): return _TfmDict()

0 commit comments

Comments
 (0)