Skip to content

Commit

Permalink
fix method signature, fix python version ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ndharasz committed Jan 12, 2024
1 parent e0ae74a commit 5fed5ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def exit_with_help(error):
sys.exit(error)


@staticmethod
def retry_request_with_backoff(
url: str,
retries: int = 10,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 5fed5ec

Please sign in to comment.