diff --git a/predict.py b/predict.py index bb1f1ae..68c0f00 100644 --- a/predict.py +++ b/predict.py @@ -92,7 +92,6 @@ def exit_with_help(error): sys.exit(error) -@staticmethod def retry_request_with_backoff( url: str, retries: int = 10, @@ -159,7 +158,7 @@ def main(args): logging.exception(e) exit_with_help(1) except TypeError as e: - logging.error(f"Pickle incompatible with {python_version}") + logging.error(f"Pickle incompatible with {py_version()}") logging.exception(e) if args.debug else logging.error(e) exit_with_help(1) except ModuleNotFoundError as e: