From a4b5c733fb2a789765c589629478f11c1615891d Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 6 Dec 2019 13:22:37 -0600 Subject: [PATCH] Bug fix --- fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs.py b/fs.py index 0a22c4f..58ea4de 100644 --- a/fs.py +++ b/fs.py @@ -103,7 +103,7 @@ def _extract_version(path): if match: version = int(match.group('version')) if match.group('version') else None if (version is None) == path.is_dir(): - info = VersionInfo(match.group('id'), int(match.group('version'))) + info = VersionInfo(match.group('id'), version) return info -- 2.30.2