diff --git a/aider/io.py b/aider/io.py index 24108b77b..1ac8d861b 100644 --- a/aider/io.py +++ b/aider/io.py @@ -82,7 +82,7 @@ class AutoCompleter(Completer): continue try: lexer = guess_lexer_for_filename(fname, content) - except Exception as ex: # On Windows, bad ref to time.clock which is deprecated + except Exception: # On Windows, bad ref to time.clock which is deprecated continue tokens = list(lexer.get_tokens(content))