Skip to content

Commit

Permalink
fix try/except
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Sep 8, 2023
1 parent bbfbb76 commit 31ac6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magicclass/utils/qthreading/_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __call__(self, *args: _P.args, **kwargs: _P.kwargs) -> _R1:
except Exception as e:
self._called = CallState.ERRORED
raise e
finally:
else:
self._called = CallState.CALLED
return out

Expand Down

0 comments on commit 31ac6e2

Please sign in to comment.