diff options
| author | Michael Biebl <biebl@debian.org> | 2022-12-18 21:32:59 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-12-18 21:32:59 +0100 |
| commit | f08ae1668e2f4f5ad4649eb7e47730625026bca2 (patch) | |
| tree | c836083cba838563c5b333696b796cf28a6a1b0b /examples/python/gi/checkpoint.py | |
| parent | bfd2ca916ff5aa53d394178c3beeb17680a0e2c5 (diff) | |
| parent | 2965dc70bb3cbfa8de2f279761812b84b87600cb (diff) | |
Update upstream source from tag 'upstream/1.40.8'
Update to upstream version '1.40.8' with Debian dir 5c809f5de1842697051e414edf8c873684b9b3fe
Diffstat (limited to 'examples/python/gi/checkpoint.py')
| -rwxr-xr-x | examples/python/gi/checkpoint.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |