From 2965dc70bb3cbfa8de2f279761812b84b87600cb Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 18 Dec 2022 21:31:39 +0100 Subject: New upstream version 1.40.8 --- examples/python/gi/checkpoint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py index 6f3194cd..6e94b07c 100755 --- a/examples/python/gi/checkpoint.py +++ b/examples/python/gi/checkpoint.py @@ -80,10 +80,10 @@ def find_checkpoint_last(nmc): def validate_path(path, nmc): if path == "--last": - path = find_checkpoint_last(nmc) - if path is None: + c = find_checkpoint_last(nmc) + if c is None: sys.exit("Has no checkpoint") - return path + return c.get_path() try: num = int(path) -- cgit 1.3.0-6-gf8a5