Skip to content

Commit 4429c89

Browse files
authored
Exists is a function (#83)
1 parent b533ee7 commit 4429c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collection_prep/cmd/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
def get_last_version(path) -> str:
4242
changelog_path = path / "changelogs" / "changelog.yaml"
43-
if not changelog_path.exists:
43+
if not changelog_path.exists():
4444
# Collection has not been released?
4545
return "0.0.0"
4646
changelog = yaml.load(changelog_path)

0 commit comments

Comments
 (0)