From: Jakob Date: Fri, 6 Dec 2019 19:22:37 +0000 (-0600) Subject: Bug fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4b5c733fb2a789765c589629478f11c1615891d;p=bb-sync-api.git Bug fix --- 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