Skip to content

Commit

Permalink
Fix exception on Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkroot committed Oct 8, 2023
1 parent b3c80a4 commit 9a99f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trakt_scrobbler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def error_logger(*exc_info):
except Exception:
logger.exception("Exception while notifying user.")

def thread_excepthook(args: threading.ExceptHookArgs):
def thread_excepthook(args):
if args.exc_type == SystemExit:
# ignore SystemExit
return
Expand Down

0 comments on commit 9a99f17

Please sign in to comment.