Skip to content

Commit

Permalink
Fixed recursive function callable
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrespoae committed May 23, 2024
1 parent 352ff11 commit 90150e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempit/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def tempit_wrapper(*args: Tuple, **kwargs: Dict) -> Any:
with time_wasted_lock: # Update the time non-ocurring in the function execution
end_time: float = time.perf_counter()
time_wasted += end_time - start_time
result: Any = run_func_recursive(func, *args, **kwargs)
result: Any = run_func_recursive(callable_func, *args, **kwargs)
potential_recursion_func_stack.pop()
return result

Expand Down

0 comments on commit 90150e3

Please sign in to comment.